Re: [Puppet Users] newb here

2012-05-03 Thread Jason Viloria
On Thu, May 3, 2012 at 12:22 AM, rmarque wrote: > I just became the Linux Admin for a large company's development team. There > are about 6 servers (ubuntu on HP) and roughly 35 people who all have ubuntu > workstations and laptops (dual boot). I have heard of puppet and have tried > to wrap my he

[Puppet Users] REMOVE ME

2012-05-03 Thread Phil Cooper
-- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended on

[Puppet Users] Using templates from another module

2012-05-03 Thread Josh
I have had a look around and cannot seem to find out whether this is possible. To explain further (using 2.7.13 btw)... I have - a module that I am using to configure various things about the network, lets call it 'my_network' - another module that defines my platform, for arguments s

AW: [Puppet Users] distributing updates to multiple puppet masters (Subversion)

2012-05-03 Thread Bernd Adamowicz
Yes, actually each of my masters has its own SVN-URL checked out with the appropriate configuration. A cron job is doing updates in 5 minute intervals. Quite easy and works very reliable. Bernd > -Ursprüngliche Nachricht- > Von: puppet-users@googlegroups.com [mailto:puppet- > us...@goo

AW: [Puppet Users] Puppet logging

2012-05-03 Thread Bernd Adamowicz
You should try debug = true verbose = true in your agent and/or master configurations. Some more hints on monitoring and on Nagios/Icinga checks are found here: http://www.bernd-adamowicz.de/180/monitoring-puppet-part-3/ Bernd Von: puppet-users@googlegroups.co

[Puppet Users] Re: Compliance Workflow only in PE?

2012-05-03 Thread Thomas
Basically I'm looking to only update certain things on the node until a change is indicated and then approved on the Puppet Master. We are comparing Puppet and Spacewalk and it seems that Spacewalk has this functionality whereas the open source version of Puppet doesn't, if our analysis is correct.

[Puppet Users] Re: transitioning a file resource

2012-05-03 Thread jcbollinger
On May 2, 6:10 pm, Craig White wrote: > for reasons probably not important to the discussion, I am trying to > transition my Ubuntu setups from using libnss-ldap / libpam-ldap over to the > libnss-ldapd / libpam-ldapd. There some files that have minor differences > such as /etc/pam.d/common-s

Re: [Puppet Users] newb here

2012-05-03 Thread Denmat
Hi, Yes puppet can used to ensure your nodes are at a certain 'state'. The state being the same configuration and package level. You can use puppet to change the state across your nodes. If I was starting out in your position I would look at 'foreman'. It can build out systems and maintain th

[Puppet Users] Re: newb here

2012-05-03 Thread jcbollinger
On May 2, 5:22 pm, rmarque wrote: > I just became the Linux Admin for a large company's development team. There > are about 6 servers (ubuntu on HP) and roughly 35 people who all have > ubuntu workstations and laptops (dual boot). I have heard of puppet and > have tried to wrap my head around wh

Re: [Puppet Users] Thoughts on preseed vs config files?

2012-05-03 Thread Thomas Bendler
2012/5/2 Brian Gupta > So having an internal debate on whether to use puppet managed debian > preseed files to configure packages prior to installation or > installing with no-config and using puppet to manage the config files > after the fact. > > The end of the discussion is that ideally one wo

[Puppet Users] Re: Using templates from another module

2012-05-03 Thread Josh
In fact, after messing about a lot more this seems like a terrible idea since it removes the 'module as a stand-alone entity' concept and introduces a whole load of complexity. This leaves me with global templates or just including all my templates in the my_network module ... think I'll go wit

[Puppet Users] Re: Check if class has been included?

2012-05-03 Thread jcbollinger
On May 2, 3:14 pm, Ryan Bowlby wrote: > Hi All, > > I recently added the puppet-concat module in order to implement the > example motd use case. Now our motd includes a list of modules being > used on the server, which is awesome. > > All the modules define an motd::register so they expect that

Re: [Puppet Users] Using templates from another module

2012-05-03 Thread Nan Liu
On Thu, May 3, 2012 at 4:27 AM, Josh wrote: > I have had a look around and cannot seem to find out whether this is > possible. To explain further (using 2.7.13 btw)... > > I have > > a module that I am using to configure various things about the network, lets > call it 'my_network' > another modul

[Puppet Users] 2.7.14 Solaris packages ready

2012-05-03 Thread Mark Phillips
http://buildfarm.opencsw.org/experimental.html#markp I've tested them with my setup and they work ok. Just waiting on Dom Cleal testing them too, then I'll release into the main OpenCSW catalog. --Mark -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Re: transitioning a file resource

2012-05-03 Thread Craig White
On May 3, 2012, at 6:09 AM, jcbollinger wrote: > On May 2, 6:10 pm, Craig White wrote: >> for reasons probably not important to the discussion, I am trying to >> transition my Ubuntu setups from using libnss-ldap / libpam-ldap over to the >> libnss-ldapd / libpam-ldapd. There some files that ha

Re: [Puppet Users] hiera "environmentss" question

2012-05-03 Thread Guy Matz
Hmmm . . anyone have any idea why environment would not be getting interpolated? Cannot find datafile /etc/puppetlabs/puppet/%{environment}/hieradata/10-host/gmatzpupnode.yaml I have the following in my node's puppet.conf [agent] section: environment = default thanks again, Guy On Wed, May 2,

[Puppet Users] Recommended network module?

2012-05-03 Thread Guy Matz
Hi! There are a few network modules out there for managing network interfaces, routes, etc. Anyone recommend one over the others? Thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googleg

Re: [Puppet Users] Recommended network module?

2012-05-03 Thread Walter Heck
Hi Guy, I just updated this one to improve debian support: https://github.com/Tribily/puppet-network Literally put in the pull request in the original a few minutes back. cheers, Walter On Fri, May 4, 2012 at 12:56 AM, Guy Matz wrote: > Hi!  There are a few network modules out there for mana

Re: [Puppet Users] hiera "environmentss" question

2012-05-03 Thread Ramin K
On 5/3/2012 9:45 AM, Guy Matz wrote: Hmmm . . anyone have any idea why environment would not be getting interpolated? Cannot find datafile /etc/puppetlabs/puppet/%{environment}/hieradata/10-host/gmatzpupnode.yaml I have the following in my node's puppet.conf [agent] section: environment = defa

[Puppet Users] coping linked files problem

2012-05-03 Thread rjl
Hi, It seems like this should be pretty easy but I can't find a solution. On my puppet master, I have a directory of zipped files. These are created by another application. When a new zipped file is added to the directory, the other application attaches a symlink to it called current. /somepath

[Puppet Users] Puppet 3.0 and Hiera

2012-05-03 Thread Pieter van de Bruggen
Greetings, As many of you may be aware, Hiera will be tightly integrated into Puppet in the upcoming release of Puppet 3.0. As a final sanity check of this work, I’d like to open our current plan for integration up for feedback. This is particularly for feedback from existing Hiera users, but I ho

[Puppet Users] Module organization

2012-05-03 Thread Thomas A. Fine
Hi, I'm new to Puppet, and I'm trying to wrap my head around how I should organize things. It seems pretty clear that the intent is to organize things around functional facilities, like ntp, printing, name resolution, etc. But my original inclination was to organize things more organization

[Puppet Users] variable as a variable

2012-05-03 Thread Rich Siegel
Is it possible to do the following: define mydefine($hash) { notice("Heres an instance ${hash[instance]}") } $pathtohash = "\$module::params::hash01" #Then do: @mydefine { $name: hash => $pathtohash} It want it instantiate and peform equivlant to : @mydefine { $name: hash => $m

Re: [Puppet Users] coping linked files problem

2012-05-03 Thread Thomas A. Fine
It looks like you should be able to do something like this: $linkvalue = generate('/usr/bin/readlink', '/somepath/current'); $linkbasename = generate('/usr/bin/basename', $linkvalue); and then path -> "destinationpath/$linkbasename", tom On 5/3/12 2:03 PM, rjl wrote: Hi, It seems like

[Puppet Users] Re: Check if class has been included?

2012-05-03 Thread Ryan Bowlby
My apologies on terminology and thank you for the list of best options. My problem is this, I want to have this os::motd::register defined type exist in the main class of every module. Yet I don't want to force a host to have to include os::motd. I want it as an option. The fact that I don't want t

Re: [Puppet Users] mixing source & content (templates) in concat::fragment

2012-05-03 Thread Tim Mooney
In regard to: Re: [Puppet Users] mixing source & content (templates) in...: the file type in puppet does not provide a way to do this, so unfortunately the concat cant do it either - since its just relying on the file type Thanks R.I. (and thanks for concat). I guess I'll switch all of our ho

Re: [Puppet Users] coping linked files problem

2012-05-03 Thread rjl
Thanks for the reply Tom (didn't need the basename call). That works great for getting the filename. However, now my path is not getting evaluated correctly. I have this in my /etc/puppet/fileserver.conf [ams_repo_path] path /opt/level3/component/ams/repo allow * Here is my class class

[Puppet Users] Re: coping linked files problem

2012-05-03 Thread rjl
Found the problem. Looks like a return character...here is my solution. $realname = regsubst(generate('/usr/bin/readlink','/opt/level3/component/ams/repo/current'),'^(.*)\n$','\1') On Thursday, May 3, 2012 12:03:59 PM UTC-6, rjl wrote: > > Hi, > It seems like this should be pretty easy but I ca

[Puppet Users] Re: variable as a variable

2012-05-03 Thread Rich Siegel
Most simple example $vari="\$modu:params::hash01" notice("$vari") How can I make the notice enumerate the value stored in vari, not show the string value as above. vari is a constant in this primitive example. -- You received this message because you are subscribed to the Google Groups "Puppe

[Puppet Users] Re: variable as a variable

2012-05-03 Thread jcbollinger
On May 3, 4:15 pm, Rich Siegel wrote: > Most simple example > > $vari="\$modu:params::hash01" > notice("$vari") > > How can I make the notice enumerate the value stored in vari, not show > the string value as above. vari is a constant in this primitive > example. To the best of my knowledge, P

Re: [Puppet Users] Re: transitioning a file resource

2012-05-03 Thread Craig White
On May 3, 2012, at 8:55 AM, Craig White wrote: > On May 3, 2012, at 6:09 AM, jcbollinger wrote: >> Very likely you are missing something. Puppet should not even be >> reading both the configure.pp files unless the classes therein are >> both assigned to your node, directly or indirectly. Since y

[Puppet Users] Re: Check if class has been included?

2012-05-03 Thread jcbollinger
On May 3, 2:53 pm, Ryan Bowlby wrote: > My apologies on terminology and thank you for the list of best > options. My problem is this, I want to have this os::motd::register > defined type exist in the main class of every module. Yet I don't want > to force a host to have to include os::motd. I w

[Puppet Users] forcing user resource provider to be local files only?

2012-05-03 Thread Philip Brown
I see that there are an assorted bunch of "provider" types for resource type user. Are there not any "local file" providers for it? I have need of ensuring that certain local user accounts get created on all machines, reguardless of what the system "/bin/password" and "useradd" type mechanism

[Puppet Users] Re: variable as a variable

2012-05-03 Thread Rich Siegel
i found the answer... in stdlib there is a getvar function. works a champ! thanks to Volcane on the #puppet channel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscri

Re: [Puppet Users] Puppet class not working after use augeas-0.10.0-3

2012-05-03 Thread heriyanto
Yes nice.. its work thank you Dominic, but its still execute even its already changed its normal for new augeas? because for old augeas not trying to change if already change. "returns: executed successfully" my onlyif doesn't work. onlyif => "match *[/files/etc/modprobe.conf[install = '$mod

Re: [Puppet Users] Re: Check if class has been included?

2012-05-03 Thread Dan Carley
On 3 May 2012 23:32, jcbollinger wrote: > > Hmm. I guess I misunderstood your objective. It is still true that > 'defined' is not a good approach, however, and also that > os::motd::register is a bit rude to not take care of declaring its > dependencies itself. > > It might work to declare all y