Ask Your Question

DarylW's profile - activity

2019-01-14 10:09:45 -0600 answered a question How to trigger puppet agent to run on a specific Linux host?

Hello! Puppet is usually designed to run on a set schedule (typically every half hour). If you wish to trigger an 'ou

2019-01-11 08:03:28 -0600 commented question Maintain Mysql configuration with puppet

In the case of a database, if they are managing it in the location specified by puppet, puppet would overwrite the confi

2019-01-11 08:02:25 -0600 commented question Maintain Mysql configuration with puppet

Puppet is declarative - it can only manage what you tell it to manage. In a simple example, if you told puppet to manag

2019-01-11 07:58:44 -0600 edited answer crayfishx/firewalld add multiple ports

. firewalld::ports: ensure: present zone: internal port: 8140 protocol: tcp ports:

2019-01-11 07:58:00 -0600 edited answer crayfishx/firewalld add multiple ports

firewalld::ports: ensure: present zone: internal port: 8140 protocol: tcp ports: ensur

2019-01-07 08:39:19 -0600 edited question How to override this using hiera

How to override this using hiera I have this in the manifest Boolean $testvar = true if $testvar { blah blah }

2018-12-17 10:29:46 -0600 edited answer how to install and update jira using puppet.

Welcome to the Community! I may recommend checking out some of the initial training at learn.puppet.com to get familiar

2018-12-17 10:25:47 -0600 answered a question Puppet exec

Please check out the puppet docs on the Exec resource - they will point you to the attribute that you are looking for -

2018-12-17 10:21:53 -0600 answered a question how to install and update jira using puppet.

Welcome to the Community! I may recommend checking out some of the initial training at learn.puppet.com to get familiar

2018-12-13 08:24:28 -0600 commented question Instaling MySQL using Puppet on Centos7

How did you install the mysql plugin? Did you install it's dependencies?

2018-12-13 08:23:45 -0600 edited question Instaling MySQL using Puppet on Centos7

Instaling MySQL using Puppet on Centos7 I'm new in puppet. It's my first experience with it. I've installed a master and

2018-12-04 11:56:06 -0600 answered a question How to schedule a Cron job task based on existence of file

So your problem is that you want your cron set up with the exact path to the command you will execute - how about you cr

2018-12-04 11:53:11 -0600 edited question How to schedule a Cron job task based on existence of file

How to schedule a Cron job task based on existence of file Hi all, I'm looking for a way to create a Cron job task with

2018-12-03 08:35:18 -0600 commented question Can someone please help me. Actually I need to start service on some nodes one by one. I mean service is started on 1 node, then I need to start it on 2 3 nodes. Is there anyway to do it by puppet.?

Also, with Puppet Enterprise, If you are trying to do a canary / slow roll out, or even just a 'master initialization' f

2018-12-03 08:33:11 -0600 commented question Can someone please help me. Actually I need to start service on some nodes one by one. I mean service is started on 1 node, then I need to start it on 2 3 nodes. Is there anyway to do it by puppet.?

Do you need this to happen regularly (as a part of a 'global puppet run'), or do you need this to happen sometimes / as

2018-11-29 08:31:30 -0600 answered a question Multiple edits on the same config file, restart service if any of the edits is successful in updating the file.

All that you have to do is add notify => Service['postfix'] in every single resource that would modify the config fil

2018-11-28 12:05:02 -0600 commented question examples in one line

I'd agree, your template probably contains unix line endings, and if you are creating the file on a different system (wi

2018-11-19 09:37:49 -0600 answered a question problems getting a custom function to work

You should be able to run using the included ruby with your puppet configuration, located under /opt/puppetlabs/puppet/b

2018-11-13 08:55:22 -0600 edited question Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Could not get metadata

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Could not get metadata please b

2018-11-09 08:45:45 -0600 edited question bolt equivalent to mco command

bolt equivalent to mco command I know with puppet 6 mco is gone. One command we like to use is mco puppet runonce --noop

2018-11-09 08:45:33 -0600 edited question bolt equivalent to mco command

bolt equivalent to mco command I know with puppet 6 mco is gone. One command we like to use is "mco puppet runonce --noo

2018-11-09 08:44:38 -0600 edited answer File Content NOT Overwriting if File Exists

I believe you are using the replace parameter backwards - it should be 'false'. https://puppet.com/docs/puppet/5.5/type

2018-11-09 08:44:29 -0600 commented answer File Content NOT Overwriting if File Exists

See edit above...

2018-11-09 08:44:22 -0600 edited answer File Content NOT Overwriting if File Exists

I believe you are using the replace parameter backwards - it should be 'false'. https://puppet.com/docs/puppet/5.5/type

2018-11-09 08:32:04 -0600 commented answer File Content NOT Overwriting if File Exists

Oh, I thought you were trying to do the opposite - initially manage it but not manage it after manual / application base

2018-11-08 16:06:45 -0600 edited answer File Content NOT Overwriting if File Exists

I believe you are using the replace parameter backwards - it should be 'false'. https://puppet.com/docs/puppet/5.5/type

2018-11-08 16:06:05 -0600 answered a question File Content NOT Overwriting if File Exists

I believe you are using the replace parameter backwards - it should be 'false'. https://puppet.com/docs/puppet/5.5/type

2018-11-08 16:04:12 -0600 edited question File Content NOT Overwriting if File Exists

File Content NOT Overwriting if File Exists Using Open-Source Puppet 5.5.6 on CentOS 7 I am specifically trying to mana

2018-11-06 07:38:29 -0600 answered a question Lookup all keys in hiera

It sounds like you want to use puppet lookup --explain - see https://puppet.com/docs/puppet/4.8/man/lookup.html --ex

2018-11-06 07:35:21 -0600 edited answer Puppet Enterprise-encrypt/hide password from agent output

What version of puppet are you using? Have you tried the built in Data Type Sensitive? From Puppet 4.6 you can ob

2018-11-06 07:33:51 -0600 answered a question Puppet Enterprise-encrypt/hide password from agent output

What version of puppet are you using? Have you tried the built in Data Type Sensitive? https://www.puppetcookbook.com/

2018-11-05 08:21:31 -0600 commented question Weird 'cache' issue when calling roles via dynamic role assignment

... node, to see passwords in files or something like that. You would need to either just use an ENC like you mentioned

2018-11-05 08:20:34 -0600 commented question Weird 'cache' issue when calling roles via dynamic role assignment

the 'trusted.$factname' values are set once, when the certificate is created for the instance, and not changeable withou

2018-11-01 08:45:11 -0600 edited question Is possible to encrypt password in manifest file Windows-dsc module-SOLVED

Is possible to encrypt password in manifest file Windows-dsc module I installed dsc module and added AD user to Domain c

2018-11-01 08:44:14 -0600 commented question Is possible to encrypt password in manifest file Windows-dsc module-SOLVED

The encrypted value needs to go in an eyaml file in your hieracy, not directly in your manifest.

2018-10-31 08:54:01 -0600 commented answer file_line with noop mode

sad face - I understand why, but that's still kindof odd/painful/unfortunate.

2018-10-31 08:52:17 -0600 commented question Installed gem not being found - Error: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- rest-client

When you say 'in our ruby code', which code is that? Is that a ruby function used by the puppet master, or a custom fac

2018-10-31 08:50:24 -0600 commented answer can a rhel 6 puppet master manage a rhel 7 node

And you could manage any supported node from any supported puppet master as well - all of the architecture specific info

2018-10-29 07:50:57 -0600 edited question else clause in module not working

else clause in module not working Bare with me as i'm still new to Puppet. I'm currently writing a module to install an

2018-10-19 07:54:01 -0600 commented answer Is puppet-lint busted with respect to autoload module layout ?

That makes sense, nice find!

2018-10-18 07:28:59 -0600 commented question post-receive hook not invoked when pushing changes to remote git repository

Do you intend for your local system deploy the puppet changes (is this on your master?) a post-recieve hook is only a '

2018-10-17 08:00:32 -0600 edited question Puppet profile with Foreman Smart Class Parameter override

Puppet profile with Foreman Smart Class Parameter override I have a need to pass a Foreman Host Group parameter to a Pup

2018-10-16 08:26:08 -0600 commented answer How do you manage your different configurations in environments?

In that case, you need to use different keys for different eyaml files within the same set of hiera data - and you need

2018-10-15 09:09:58 -0600 edited answer How do you manage your different configurations in environments?

The answer is to have as close to a single environment (all of the 'code' is in every environment), you just have all of

2018-10-15 09:05:11 -0600 answered a question How do you manage your different configurations in environments?

The answer is to have as close to a single environment (all of the 'code' is in every environment), you just have all of

2018-10-11 15:12:49 -0600 edited question When i Run puppet agent -t i come across this error. I am not sure why. I did not have this issue before.

When i Run puppet agent -t i come across this error. I am not sure why. I did not have this issue before. error: Error

2018-10-11 15:12:17 -0600 edited question When i Run puppet agent -t i come across this error. I am not sure why. I did not have this issue before.

When i Run puppet agent -t i come across this error. I am not sure why. I did not have this issue before. error: Error

2018-10-11 10:24:59 -0600 commented question Puppet Agent reports "Could not retrieve catalog from remote server: Error 400 on SERVER: Moduleis not compatible with windows"

You probably have more things that would be 'linux only' and not work on windows - you'll probably need a seperate role/

2018-10-11 10:18:52 -0600 commented question Puppet Agent reports "Could not retrieve catalog from remote server: Error 400 on SERVER: Moduleis not compatible with windows"

I believe if you don't call the python module when on windows hosts, it won't fail there - How is this module added to y

2018-10-11 10:17:05 -0600 edited question Puppet Agent reports "Could not retrieve catalog from remote server: Error 400 on SERVER: Moduleis not compatible with windows"

Puppet Agent reports "Could not retrieve catalog from remote server: Error 400 on SERVER: Moduleis not compatible with w