Ask Your Question

ffalor's profile - activity

2018-12-24 03:11:03 -0600 answered a question Can I attach an email address to a node?

Yes its possible through a custom fact: https://puppet.com/docs/facter/3.9/custom_facts.html For example, i store serv

2018-10-27 09:19:30 -0600 received badge  Famous Question (source)
2018-10-27 09:19:30 -0600 received badge  Notable Question (source)
2018-10-20 14:44:16 -0600 answered a question Puppet-strings

I got my answer on the Puppet community slack Below was the message from dev_el_ops if you run /opt/puppetlabs/puppet/

2018-10-20 14:43:12 -0600 received badge  Popular Question (source)
2018-10-19 17:06:36 -0600 asked a question Puppet-strings

Puppet-strings Hey, I am trying to test out Puppet strings, and i am unable to get it working. I've installed both gem

2018-08-17 18:10:56 -0600 commented question Keep puppetfile modules up to date

If you are referencing a commit hash in your puppet file you have to update that each time. If you are not you still ha

2018-06-09 02:37:44 -0600 commented question Configuring software using the Dashboard

edit the actual forge module itself. If it is a good module.

2018-06-09 02:37:29 -0600 commented question Configuring software using the Dashboard

The GUI isn't meant for complex stuff like that. Look up roles and profiles and learn how to use them. For example if yo

2018-05-28 16:03:09 -0600 received badge  Editor (source)
2018-05-28 16:03:09 -0600 edited answer Package Install_Options that require a space and double quotes etc on Windows node

So you will make an array of install switches both cmd and msi. You will have to work on escaping the quotes, I do not

2018-05-28 16:02:47 -0600 answered a question Package Install_Options that require a space and double quotes etc on Windows node

So you will make an array of install switches both cmd and msi. You will have to work on escaping the quotes, I do not

2018-05-16 12:39:36 -0600 answered a question Custom type: add a rubygem require

Figured it out. Simple as adding it into the gemfile of the module. Thanks.

2018-05-16 10:47:46 -0600 asked a question Custom type: add a rubygem require

Custom type: add a rubygem require Hello, I'm learning how to develop custom types in puppet. I am making an unzip res

2018-04-24 08:27:56 -0600 commented question Puppet: upgrade a software on node1 and keep the current version on node2

Example42 has the correct answer. You should use heira for all your data if you can(if it makes sense). It allows flexib

2018-04-19 00:36:01 -0600 received badge  Critic (source)
2018-04-19 00:35:41 -0600 commented question Why is puppet so hard to debug?

I have not had your experience at all. The puppet debug is just fine. I've never had a compile error that wasn't clear w

2018-04-19 00:33:03 -0600 received badge  Citizen Patrol (source)
2018-04-10 08:19:44 -0600 commented question Lock user if they exist, but don't create them

You can make a custom fact to see if this account exists, and if it does set the fact to true. Then do an if on the fact

2018-04-10 08:18:35 -0600 commented question Lock user if they exist, but don't create them

You can make a custom fact to see if this account exists, and if it does set the fact to true. Then do an if on the fact

2018-04-10 08:17:57 -0600 commented question Lock user if they exist, but don't create them

As far as I know, this is not possible. Puppet can't manage something without it existing, and puppet doesn't make decis

2018-04-10 08:14:48 -0600 commented answer Is there a way to have the Puppet Agent enforce one class while the rest run in NOOP mode?

This is the correct answer.

2018-04-10 00:29:41 -0600 received badge  Commentator
2018-04-10 00:29:41 -0600 commented question Can hiera match on a partial fact

Yes i would make a custom fact that takes the client certname and breaks it down. Then have heira give different setting

2018-04-05 22:37:44 -0600 commented question Puppet 5 module set and merge array param from Hiera and node manifest

the sources for that specific node into a certname.yaml, and do a deep merge to get all the sources inside your config.p

2018-04-05 22:35:10 -0600 commented question Puppet 5 module set and merge array param from Hiera and node manifest

the sources for that specific node into a certname.yaml, and do a deep merge to get all the sources inside your config.p

2018-04-05 22:34:40 -0600 commented question Puppet 5 module set and merge array param from Hiera and node manifest

the sources into a certname.yaml, and do a deep merge to get all the sources inside your config.pp unless I am misunders

2018-04-05 22:33:54 -0600 commented question Puppet 5 module set and merge array param from Hiera and node manifest

I do not think you will get a Duplicate declaration from having something in heira. Are you sure you are not declaring t

2018-04-05 22:31:14 -0600 commented question Puppet 5 module set and merge array param from Hiera and node manifest

I do not think you will get a Duplicate declaration from having something in heira. Are you sure you are not declaring t

2018-04-05 22:30:55 -0600 commented question Puppet 5 module set and merge array param from Hiera and node manifest

I do not think you will get a Duplicate declaration from having something in heira. Are you sure you are not declaring t

2018-04-05 22:17:44 -0600 commented question Can hiera match on a partial fact

I do not think heira can do this. Your case option can work. Alternatively why not make custom fact based on the certnam

2018-04-03 17:33:23 -0600 edited answer Unable to start puppet agent

Has it worked in the past? If this is a new install then it looks like your puppetserver is refusing the traffic on that

2018-04-03 17:28:11 -0600 answered a question Unable to start puppet agent

Has it worked in the past? If this is a new install then it looks like your puppetserver is refusing the traffic on that

2018-04-01 17:34:11 -0600 commented question do i need a site.pp if im using hiera?

Are you using the console as the enc? Hiera is used for data. You have to classify the nodes configuration somewhere so

2018-04-01 17:32:12 -0600 commented question do i need a site.pp if im using hiera?

Are you using the console as the enc? Hiera is used for data. You have to classify the nodes configuration somewhere so

2018-04-01 17:28:11 -0600 commented question proper way to define/lookup hash?

The symbol - makes an array hence your expected hash got tuple error. If you want to make a hash you use soft tabs. like

2018-04-01 17:20:35 -0600 commented question Chaining arrows Style not clear enough

There are a lot of inconsistencies with puppet docs. The style guide is used as a guide. It is not the style constitutio

2018-02-20 14:22:01 -0600 received badge  Teacher (source)
2018-02-16 10:24:05 -0600 received badge  Enthusiast
2018-02-15 23:32:20 -0600 commented answer Use Razor Metadata as custom puppet facts for classification.

Ended up making a custom function that will do a razor API call to get the information for the node and remake the file

2018-02-15 08:10:58 -0600 commented answer Use Razor Metadata as custom puppet facts for classification.

reesek, thank you very much for your answers. I wish we could just assume that, but we have huge env 20k+ and majority

2018-02-15 08:06:38 -0600 received badge  Popular Question (source)
2018-02-12 17:04:41 -0600 marked best answer Use Razor Metadata as custom puppet facts for classification.

I want to know if I can use the metadata on a node provisioned by razor as a custom puppet fact for console classification.

I'm doing a zero touch build, and when I use the API to provision a razor node it will put ticket information as metadata on the server. I want to use that metadata as custom facts to automatically apply the correct classes to my new node.

First thought that came to mind was to use ruby to get the Metadata with a API call, but just wanted to make sure there is no easier way.

Thanks.