[Puppet Users] Ubuntu service idempotence

2015-02-03 Thread sorthum
I'm seeing some idempotence issues around enabling services in Puppet 3.7.4 on Ubuntu 12.04: root@ubuntu-server-1204-x64:~# puppet resource service ntp enable=true Notice: /Service[ntp]/enable: enable changed 'false' to 'true' service { 'ntp': ensure = 'running', enable = 'false', }

Re: [Puppet Users] Announce: Puppet Language Style Guide 2.0

2015-02-03 Thread jcbollinger
On Monday, February 2, 2015 at 2:58:51 PM UTC-6, Trevor Vaughan wrote: Inline On Mon, Feb 2, 2015 at 3:24 PM, Garrett Honeycutt g...@garretthoneycutt.com javascript: wrote: I'd like to vote for putting all validation at the bottom of the file. Honestly, we're getting quite heavy

Re: [Puppet Users] Re: Announce: Puppet Language Style Guide 2.0

2015-02-03 Thread Hunter Haugen
tl;dr Summarizing the feedback from Garrett, Trevor, and John (because email is hard), and see if we have resolution on some points and which ones we still need to clarify. = Questions: These need further discussion and clarification. == Section 10.7 Defines can't use inherits for parameter

[Puppet Users] Re: Puppet Dashboard/console

2015-02-03 Thread PierreR
There's a good roundup of the options here: http://www.olindata.com/blog/2014/01/puppet-management-gui-comparison Puppet Enterprise Console is arguably the best, but that's not available if you're using the free open source option. If you want something similar you are probably best

[Puppet Users] Re: Announce: Puppet Language Style Guide 2.0

2015-02-03 Thread jcbollinger
On Monday, February 2, 2015 at 12:21:40 PM UTC-6, Lauren R wrote: The Modules team and I are excited to finally announce the newest version of the Puppet Language Style Guide. We've reworked the guide to reflect the new features and capabilities of Puppet 3.7, and we've expanded it to

Re: [Puppet Users] Puppet Custom Facts

2015-02-03 Thread Wolf Noble
Hi Steve, All custom facts are delivered to all nodes within a puppetmaster's control. IOW, having a module that has a custom fact will deploy that fact to every node, regardless of if that node uses, or is aware of the fact, or module in question. It is generally expected that the fact

[Puppet Users] puppetdlock and puppet dashboard

2015-02-03 Thread puppetstan
Hi, I have a problem with the command: puppet -t agent # Puppet -t agent Record: Ignoring --listen we onetime run Record: Run of Puppet client configuration already in progress; skipping There are many tutorials that say to delete the file # rm /var/lib/puppet/state/puppetdlock and the command

[Puppet Users] Puppet Custom Facts

2015-02-03 Thread Steve Harp
Hi Guys, I've created some custom facts in /etc/puppet/MODULE_NAME/lib/facter/. When I run puppet I'm having facts that aren't even defined in a module being called by the node deployed to the agent. This is causing the facts to fail on the agent. For instance, if I have the following

Re: [Puppet Users] Puppet array merge failure?

2015-02-03 Thread jcbollinger
On Monday, February 2, 2015 at 10:19:33 AM UTC-6, leam hall wrote: Hey John, thanks! To add to your points, I'm referencing https://docs.puppetlabs.com/hiera/1/lookup_types.html#array-merge Your recommended Hiera command works fine on the master. Thanks! All NTP servers show up.

Re: [Puppet Users] Unreported Windows nodes (Puppet 3.7.3, Exchange 2010)

2015-02-03 Thread cko
Icacls: http://i.imgur.com/s1xQy65.png I will upgrade to Puppet 3.7.3 this week an see if that fixed the issue. On Monday, February 2, 2015 at 9:49:01 PM UTC+1, Rob Reynolds wrote: On Mon, Feb 2, 2015 at 5:05 AM, cko der...@gmail.com javascript: wrote: I just noticed that the affected

[Puppet Users] Re: Announce: Native Facter (cfacter) 0.3.0 is available!

2015-02-03 Thread Paul Seymour
Thanks for this. Just put the RHEL7 x86_64 on a puppet client and it complains:- Error: Could not initialize global default settings: cfacter version 0.2.0 or later is not installed. Tracing it through it is looking for the libraries in /usr/lib64 and they are installed via the RPM in

[Puppet Users] Re: Bootstrap puppet client

2015-02-03 Thread Joseph Karns
Hello Aries: Puppet Enterprise provides a single line command to complete the same thing. It would look something like this, curl -k https://puppet master fqdn:8140/packages/current/install.bash | sudo bash You could add that to a cloud_init file if using AWS or add it to a kickstart file for

Re: [Puppet Users] Announce: Puppet Language Style Guide 2.0

2015-02-03 Thread jcbollinger
On Monday, February 2, 2015 at 2:24:42 PM UTC-6, Garrett Honeycutt wrote: == Section 5 Why the arbitrary line length? Puppet's DSL does not have the ability to break lines, such as '\' in bash, so imposing any limit does not buy anything, certainly not readability. [...] Agreed.

[Puppet Users] size of fileserver files?

2015-02-03 Thread Christopher Wood
I've read through tickets.puppetlabs.com bug reports and can't find anything, asking here before I go down that road. Have any of you had trouble with large files served from the puppetmaster fileserver? If you had any issues how big were the files and what was your puppetmaster version (3.7.2

Re: [Puppet Users] Puppet Custom Facts

2015-02-03 Thread Steve Harp
Thanks Wolf. Sad news but now I know and I can structure my facts to deal with it. On Tuesday, February 3, 2015 at 12:11:03 PM UTC-5, Wolf Noble wrote: Hi Steve, All custom facts are delivered to all nodes within a puppetmaster's control. IOW, having a module that has a custom fact will

[Puppet Users] Re: puppetserver and LDAP terminus

2015-02-03 Thread Steve Huston
So, I've spent another day beating on this problem and finally achieved success. We started with: # puppetserver gem install ruby-ldap Nobody pointed out, either here or in the documentation, that when using puppetserver you have to use jruby-ldap instead. Once I did that, the gem installed,

Re: [Puppet Users] size of fileserver files?

2015-02-03 Thread Christopher Wood
On Tue, Feb 03, 2015 at 04:59:01PM -0500, Trevor Vaughan wrote: Hi Chris, It definitely works but I would not use it for large files due to the serialization/deserialization overhead issues, that it will checksum the file at each run, and that it will transfer the entire file

[Puppet Users] Re: Augeas and grub.conf

2015-02-03 Thread Paul Greenbank
Hi You can try setm - I'm not expert but have managed to use setm to do what you need: # Enable audit prior to daemon augeas { 'set_audit': incl= '/boot/grub/grub.conf', lens= 'grub.lns', changes = [

[Puppet Users] Re: puppet cron help

2015-02-03 Thread keith . staley
On Monday, February 2, 2015 at 5:55:58 PM UTC-5, bluethundr wrote: Hey all, I'm attempting to setup a cron job via the cron resource in puppet. This is what I'm trying to express via puppet: */30 * * * * /usr/bin/facter -y /etc/mcollective/facts.yaml This is what I've tried: cron {

[Puppet Users] Bootstrap puppet client

2015-02-03 Thread aries
Hi ~ I use chef knife bootstrap a new chef client. It use ssh method to login my client and run script to do any thing. # sudo knife bootstrap $CLIENT_IP -x $USER_NAME -P $PASSWORD -d $ERB_FILE Is there like tools for puppet ? thanks Aries -- You received this message because you are

Re: [Puppet Users] size of fileserver files?

2015-02-03 Thread Trevor Vaughan
Hi Chris, It definitely works but I would not use it for large files due to the serialization/deserialization overhead issues, that it will checksum the file at each run, and that it will transfer the entire file should the transfer need to occur. I would recommend using something like rsync or

[Puppet Users] Re: Bootstrap puppet client

2015-02-03 Thread aries
Hi Joseph: Thanks your help. I have a question about the command. Who is executing the command ? Puppet server or client ? I need execute some Puppet tools from server. It can login client and do some script. (client is only OS and SSH) The Chef knife tools can do. Thanks Aries ariesæ–¼