[Puppet Users] Re: memorysize returned as string - maybe

2010-03-08 Thread John
? I need to make decisions based on the amount of memory available. The whole scaling unit of measurement is kind of annoying though. / proc/meminfo normally reports as kb doesnt it? On Mar 8, 11:06 am, John Cesario wrote: > On version 0.25.4 for both server and client. > > Trying to do s

[Puppet Users] Puppet multiple conditional statement...

2013-09-19 Thread John
How can I accomplish the following in puppet? If /etc/file1 contains string abc then copy SSHTemplate1 to /etc/ssh/ssh_config && copy SSHDTemplate1 to /etc/ssh/sshd_config else if /etc/file1 contains string xyz then copy SSHtemplate2 to /etc/ssh/ssh_config && copy SSHDTemplate2 to /etc/s

[Puppet Users] puppet module

2013-10-08 Thread John
I need to write a puppet SSHD module that does the following: First I have 5 different operating systems to install to: Red Hat, Free BSD, AIX, Ubuntu, and SuSE. The second requirements: If the host file contains an entry of host-A.domain.com (for example) then I need ssh-config1 installed. I

[Puppet Users] SSH Module with multiple conditions

2013-10-24 Thread John
I've written and deployed a simple Linux SSH module. But I need to modify to include support for FreeBSD and AIX. On top of that, I need to include some conditionals in there that (for example) if (/etc/file1 contains string abc) ; then install sshd-config-x & ssh-config-x elsif (/etc/file1

[Puppet Users] puppet code snippet

2013-10-31 Thread John
Note the following code snippet I've written for my puppet module. My question is there a better (perhaps more efficient) method to accomplish this in a puppet module? The logic requires if a string (say aaa) is in an ldap_conf file, then install a specific sshd config, if bbb, then another s

[Puppet Users] Re: puppet code snippet

2013-10-31 Thread John
Perfect response. Thanks!! On Thursday, October 31, 2013 11:49:38 AM UTC-4, John wrote: > > Note the following code snippet I've written for my puppet module. My > question is there a better (perhaps more efficient) method to accomplish > this in a puppet module? The lo

[Puppet Users] Module Testing

2013-11-11 Thread John
I've written a module I'd like to test on a puppet client This is the command and process I am using: [root@myhost puppet]# /usr/bin/puppet apply --modulepath=/etc/puppet/modules/ssh -e "include ssh" --noop --verbose --debug Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb Info

[Puppet Users] config.pp not working as expected

2014-01-16 Thread John
I've got the following code in my config.pp file on a FreeBSD 8.3 host: freebsd# more config.pp ; class ssh::config { include ssh::params $listenaddress = $ssh::params::listenaddress file { $ssh::params::sshd_config_file: ensure => present, owner => 'root', group => 'root',

[Puppet Users] FreeBSD / osfamily

2014-01-31 Thread John
I've got the following code error: Error: openssh: not in required origin format: .*// Error: /Stage[main]/Ssh::Server::Install/Package[openssh]/ensure: change from absent to present failed: openssh: not in required origin format: .*// when I run the following: puppet agent --server=puppet --

[Puppet Users] conditional statement in config.pp

2014-03-20 Thread John
Below is a my current config,.pp file I'm trying to create a condition that says if (/etc/ldap.conf contains the string host1.mydomain.com or host2.mydomain.com) Then install an sshd_ldap.erb template else if (/etc/ldap.conf contains the string hostB.mydomain.com or hostA.mydomain.com)

[Puppet Users] interpolation of puppet fact, with quotes, into erb template

2017-08-18 Thread John
i have this bit of code here <% @microservices.sort.each do |service,val| -%> upstream <%= service %> { server <% val['endpoint']['{domain_suffix}'] = "@domain_suffix" -%> resolve; } <% end -%> i'm trying to do a string replacement of the @domain_suffix puppet fact, ho

[Puppet Users] puppet SSHD port based on hostname

2017-08-22 Thread John
I've pulled down the SAZ SSH module and implemented across my network. It works great. However, I need to implement the following change: If hostname = host1 or host2 or host3 then port = fi I just want to change the default sshd port for a few hosts. How do I do that? -- Y

[Puppet Users] Re: puppet SSHD port based on hostname

2017-08-22 Thread John
at 12:36:15 PM UTC-4, John wrote: > > I've pulled down the SAZ SSH module and implemented across my network. It > works great. > > However, I need to implement the following change: > > If hostname = host1 or host2 or host3 > then > port = > fi > &

[Puppet Users] Re: puppet SSHD port based on hostname

2017-08-25 Thread John
ors, but /etc/ssh/sshd_config does not the port setting at all. I've tried different variations of the command above with no luck. Am I even in the ball park? It seems this should doable in the sshd_config.erb. Any advice would be greatly appreciated. On Tuesday, August 22, 2017 at 12:36:1

[Puppet Users] Hiera mod not working

2018-08-02 Thread John
I've got a puppet instance where I'm trying to setup a hiera job to modify a file managed by puppet. The file is /etc/security/access.conf. The file looks like (some details removed): [root@util nodes]# more hostx.yaml X::os::auth::access: '+ : USERACCOUNT : ALL' X::os::auth::access: '

Re: [Puppet Users] Reports getting sent even when there were no changes

2012-01-26 Thread John Sellens
eport includes a note from me showing how we worked around it, by hacking a change into tagmail.rb to suppress those messages. Hope that helps - cheers! John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

Re: [Puppet Users] Chef knife equivalent in puppet

2012-02-01 Thread John Warburton
ects.puppetlabs.com/issues/12366 Regards John -- 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 unsubscribe from this group, send email to puppet-users+unsubscr...@googl

Re: [Puppet Users] Re: Chef knife equivalent in puppet

2012-02-01 Thread John Warburton
On 2 February 2012 11:16, Nick Fagerlund wrote: > Like this? > > http://docs.puppetlabs.com/pe/2.0/console_classes_groups.html#rake-api > > It needs a few more tasks added, and then I'll C&P it to the dashboard > manual too. > > Very nice. Thanks! John -- You

Re: [Puppet Users] Re: Chef knife equivalent in puppet

2012-02-01 Thread John Warburton
On 2 February 2012 12:28, Nick Fagerlund wrote: > This is done: > > http://docs.puppetlabs.com/pe/2.0/console_classes_groups.html#rake-api > http://docs.puppetlabs.com/dashboard/manual/1.2/rake_api.html > > Thanks Nick - that's great John -- You received this message bec

[Puppet Users] How do I track updates to forge modules?

2012-02-02 Thread John Warburton
Is there a way to "watch" modules and be notified if they are updated? I can't see anything obvious in the documentation Thanks John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, s

[Puppet Users] Re: How do I track updates to forge modules?

2012-02-09 Thread John Warburton
On 3 February 2012 09:55, John Warburton wrote: > Is there a way to "watch" modules and be notified if they are updated? > > I can't see anything obvious in the documentation > Anyone? Bueller? -- You received this message because you are subscribed to the Google G

Re: [Puppet Users] Re: How do I track updates to forge modules?

2012-02-12 Thread John Warburton
On 11 February 2012 01:15, Kelsey Hightower wrote: > On Feb 2, 5:55 pm, John Warburton wrote: > > Is there a way to "watch" modules and be notified if they are updated? > > > > I can't see anything obvious in the documentation > > Currently there

[Puppet Users] Re: Puppet Dashboard 1.2.5 Available [security update - moderate]

2012-02-13 Thread John Morrissey
es as well as a tarball. Looks like there are only Debian packages for 1.2.5rc1, not 1.2.5 itself. Maybe the Debian packages were accidentally overlooked? john -- John Morrissey _o/\ __o j...@horde.net_-< \_ / \ &

[Puppet Users] Re: Re: Puppet Dashboard 1.2.5 Available [security update - moderate]

2012-02-13 Thread John Morrissey
On Mon, Feb 13, 2012 at 11:16:35AM -0800, Michael Stahnke wrote: > On Mon, Feb 13, 2012 at 7:06 AM, John Morrissey wrote: > > On Thu, Jan 26, 2012 at 03:42:12PM -0800, Michael Stahnke wrote: > >> Welcome to the first Puppet Dashboard maintenance release of the new year. &g

[Puppet Users] How do I quote a percent sign in the text of a template?

2012-03-08 Thread John Warburton
what I wanted I'm missing something blindingly obvious - can someone point me to it? :-) Thanks John -- 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 unsubs

Re: [Puppet Users] How do I quote a percent sign in the text of a template?

2012-03-08 Thread John Warburton
On 9 March 2012 09:58, Garrett Honeycutt wrote: > On 3/8/12 4:28 PM, John Warburton wrote: > > I am turning my kickstart files into templates, but am having issues > > with percent signs in free form text. This returns a syntax error: > > %post > ERB should not have a

Re: [Puppet Users] puppet eating solaris 10 crontab for lunch

2012-03-13 Thread John Warburton
migrating to 2.7 up my priority list Indeed, there are 5 issues marked Urgent in the 2.7.x bucket John -- 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 unsubsc

Re: [Puppet Users] using puppet to configure local settings

2012-03-15 Thread John Kennedy
serve the 2 different files in their entirety then edit them on the puppet master as the requirements change. Sorry I can not give details (yet) but hopefully this will give you a place to start. John Kennedy On Thu, Mar 15, 2012 at 08:06, Sharuzzaman Ahmat Raslan < sharuzza...@gmail.com>

[Puppet Users] Removing lines from a file

2012-03-21 Thread John Kennedy
configuration needs to be removed from the sudoers file: # grep ADMINS /etc/sudoers User_Alias ADMINS = john,chris,james ADMINS ALL=(ALL) ALL removed before # cat /etc/sudoers.d/ADMINS User_Alias ADMINS = john,chris,james ADMINS ALL=(ALL) ALL put in place. I tried the

Re: [Puppet Users] Removing lines from a file

2012-03-21 Thread John Kennedy
On Wed, Mar 21, 2012 at 12:02, Craig Dunn wrote: > On 21/03/2012 11:48, John Kennedy wrote: > > Hello all, > I am fairly new to Puppet but learning. > I know what I want to do can be done I just can not get things to go > right... > > We want to start using the capab

Re: [Puppet Users] Re: Removing lines from a file

2012-03-22 Thread John Kennedy
t; and very good at this sort of thing. > > Personally, however, I would be looking at using a File resource to > manage the *whole file* instead of filtering out a few lines. > > > John > > -- > You received this message because you are subscribed to the Google Groups > "

Re: [Puppet Users] Re: Removing lines from a file

2012-03-23 Thread John Kennedy
On Thu, Mar 22, 2012 at 23:48, Gary Larizza wrote: > > On Thursday, March 22, 2012 at 6:23 AM, John Kennedy wrote: > > > On Thu, Mar 22, 2012 at 13:02, jcbollinger wrote: > > > > - NOTE: I am adding and removing the #includedir line for testing... > > > >

Re: [Puppet Users] Re: Removing lines from a file

2012-03-23 Thread John Kennedy
On Fri, Mar 23, 2012 at 11:10, Paul Tötterman wrote: > Hi John > > >> I can see where 'file_line' will add a line but I don't know enough ruby >> to know, will it remove a line that does exist? >> > > 'ensurable' sounds like it can man

[Puppet Users] puppetd not checking in

2012-03-28 Thread John Kennedy
implied here or should I check else where? Thanks, John John Kennedy -- 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 unsubscribe from this group, send email to pu

Re: [Puppet Users] stdlib module not working

2012-04-01 Thread John Warburton
source for modifying /etc/hosts and the "mount" resource for modifying /etc/fstab - http://docs.puppetlabs.com/references/latest/type.html I define $tmpfs_size elsewhere mount{ "/tmp": ensure => mounted, device => "tmpfs", fstype => &q

Re: [Puppet Users] Simple newbie question

2012-04-02 Thread John Kennedy
le.com/d/msg/puppet-users/-/qDhj4dblhfAJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-

Re: [Puppet Users] Re: escaping the "@" symbol

2012-04-02 Thread John Kennedy
n is choking on it. > I suppose that would probably be Augeas. I'm not proficient in > Augeas, however, so I can't be sure, and I certainly can't tell you > how Augeas escaping works. > > > John > > -- > You received this message because you are subscri

[Puppet Users] onlyif executed out of order

2012-04-02 Thread John Shoemaker
I have a basic setup where I have an Exec that is in a class. The Exec has an onlyif that checks for the existence of a file. Despite me indicating that the Class requires that File, the onlyif check is executed before the File. Basic example https://gist.github.com/b1e1741d686881f115c4 It w

Re: [Puppet Users] onlyif executed out of order

2012-04-02 Thread John Shoemaker
(Assuming you have replaced "apprunner" > with "my_user" in places, there) > > It might help to de-obfuscate a bit ... or, make it clear where the users > are the same/different before the obfuscated class and the > (non-obfuscated?) log messages. > > >

Re: [Puppet Users] Re: Customizing a hostname facts

2012-04-08 Thread John Kennedy
fact around that. You then put your rb file in with all the other fact rb files and puppet will find it. John John Kennedy On Sat, Apr 7, 2012 at 11:17, Mukul Malhotra wrote: > > Hi, > > Actually I want that nobody in my network can change the hostname as some > has already chang

Re: [Puppet Users] configuration version variable?

2012-04-09 Thread John Warburton
I really want: info: Applying configuration version 'lab-r49068' I suspect Patrick's hiera magic may have the same issue Any suggestions where we go from here? John -- You received this message because you are subscribed to the Google Groups "Puppet Users" gr

Re: [Puppet Users] Installing from source, not a package

2012-04-12 Thread John Shoemaker
Is it possible to install packages to specific directories for most providers? (for example, passing --instdir to dpkg -i). On Monday, July 18, 2011 4:18:18 PM UTC-7, chiggsy wrote: > > use fpm . You still > should know how to make a package, bu

Re: [Puppet Users] Change location of puppet config files

2012-04-18 Thread John Kennedy
om this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > Where in puppet.conf did you put the directive and what did you put? John -- You received this message because you ar

[Puppet Users] "Migrating" current installation to use environments

2012-04-24 Thread John Kennedy
/site.pp Finally, copy the current modules/manifests in to /etc/puppet/production and restart puppetmaster This is a high level task list, I am just making sure that I am not missing anything important at this point... Thanks, John John Kennedy -- You received this message because you are

Re: [Puppet Users] Creating a system module path (starting with Telly)

2012-04-29 Thread John Warburton
+1 A couple of requests: - Notifications on module updates: https://projects.puppetlabs.com/issues/12587 - Testing - I'd like to confirm these module paths support environments John On 24 April 2012 07:03, Michael Stahnke wrote: > There was some discussion and concern about moving th

[Puppet Users] Using fact to determine node environment

2012-05-02 Thread John Kennedy
, John John Kennedy -- 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 unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For mo

Re: [Puppet Users] Using fact to determine node environment

2012-05-02 Thread John Kennedy
On Wed, May 2, 2012 at 11:10 AM, Nigel Kersten wrote: > > > On Wed, May 2, 2012 at 4:19 AM, R.I.Pienaar wrote: > >> >> >> - Original Message - >> > From: "John Kennedy" >> > To: puppet-users@googlegroups.com >> > S

[Puppet Users] Puppet logging

2012-05-02 Thread John Kennedy
much better. Where can I search for errors? Thanks, John John Kennedy -- 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 unsubscribe from this group, send email

Re: [Puppet Users] Puppet logging

2012-05-04 Thread John Kennedy
on RHEL 6 (puppet installed/updated from EPEL repo) Any other thoughts or suggestions? Thanks, John -- 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 unsubscribe

Re: [Puppet Users] Puppet logging

2012-05-04 Thread John Kennedy
Nope... Thanks, John John Kennedy On Fri, May 4, 2012 at 8:08 PM, Michael Baydoun wrote: > Is your daemon started with a different --logdest=/path/file specified? > > On Fri, May 4, 2012 at 7:45 AM, John Kennedy wrote: > >> >> On Thu, May 3, 2012 at 8:07 AM, Bernd Ada

Re: [Puppet Users] Puppet logging

2012-05-05 Thread John Kennedy
onfig report = true reports = log server = puppet.example.com debug = true verbose = true logdest = /var/log/puppet/puppet.log Thanks, John John Kennedy On Fri, May 4, 2012 at 11:00 PM, Michael Baydoun wrote: > Can you post your full puppet.conf? Redact anything s

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-08 Thread John Warburton
ookup and not converting to Hiera - anyone in the team can do CSV. But YAML is starting to push well into the dev camp and far away from ops (IMHO) John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-08 Thread John Warburton
. If people really > are That's great - an easy migration then Cheers John -- 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 unsubscribe from this

Re: [Puppet Users] Announce: Facter 2.0.0rc1 Available

2012-05-15 Thread John Warburton
On 16 May 2012 10:15, Matthaus Litteken wrote: > Facter 2.0 is designed to accompany the upcoming Puppet 3.0 release > and has breaking changes from Facter 1.6.x. Facter 2.0 is not > backwards compatible with Puppet 2.6 or 2.7. > Will you be documenting the "breaking change

[Puppet Users] puppet on Xen Server

2012-05-31 Thread John Guthrie
Has anyone had any luck installing puppet on Citrix Xenserver? It appears that there is no ruby package for the OS itself, and we ran into dependency issues when we tried to compile our own ruby. Thanks. John Guthrie jguth...@book.com This electronic mail message contains information that

Re: [Puppet Users] puppet on Xen Server

2012-06-12 Thread John Guthrie
hem on our distribution CDs either. Thanks again. John Guthrie jguth...@book.com On 2012-05-31 19:34, Martin Willemsma wrote: Hi John, We have puppet running on Xenserver. Please note that Citrix can start complaining about 'unsupported custom modifications' to the host in case you have

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-25 Thread John Lyman
This would be fairly easy from cron by running 'puppet resource user root > some.pp'. It would be even better if your password manager could trigger the command to run only when the password has changed. On Monday, June 25, 2012 10:17:20 AM UTC-4, Rob B. wrote: > > I suppose I could use a cron

Re: [Puppet Users] Using generate() to mine a shadow file hash

2012-06-26 Thread John Lyman
It does for me, but I am running as root. Maybe that is the difference. Or maybe your user provider doesn't manage_passwords? On Monday, June 25, 2012 9:30:39 PM UTC-4, Rob B. wrote: > > Hey John, > > It doesnt give the password section. > -- You received this mes

[Puppet Users] Puppet agent problem on Ubuntu

2011-06-21 Thread John Nicholson
I'm in the process of setting up puppet and experiencing some issues. I'm running Ubuntu 11.04 desktop and server in two seperate VM's. I've installed puppet master (2.6.4) and puppet (2.6.4). The puppet master and agent are happily working together. I'm running the example in the book Pro Puppet.

[Puppet Users] Re: What is the best practice to clean up installed components on a node?

2011-07-09 Thread John Lyman
Create a class called sg_node::disabled that inherits sg_node and overrides all of it's resources to "undo" them. This usually means setting 'ensure =>absent' (or 'undef' if applicable) for most resources. For execs, I usually set 'unless => true.' Be sure to include the class on the nodes you w

Re: [Puppet Users] puppet-dashboard delayed workers

2011-07-12 Thread John Warburton
ript/delayed_job -p dashboard -n 2 -m start puppet 7988 1 0 Jul 03 ? 748:59 ruby ./script/delayed_job -p dashboard -n 2 -m start John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pup

Re: [Puppet Users] Solaris mount provider question

2011-07-13 Thread John Warburton
er to accept a different name for the specific case of swap mount entries. Not pretty. Maybe it could be merged into https://projects.puppetlabs.com/issues/7188:-) Regards John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to

[Puppet Users] Re: Skipping Tags?

2011-07-20 Thread John Martin
n was that we created a "releases" directory and touch a file with the software release number embedded in the name. The release number is defined in a puppet config and the process runs OnlyIf the file doesn't exist. John -- You received this message because you are subscr

[Puppet Users] Re: How to use notify to invoke something prior to a change

2011-07-20 Thread John Martin
Nan - that is an interesting approach to call Puppet from Puppet. I'll have to give that a try and experiment. 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@googlegroups.com. To unsubs

Re: [Puppet Users] Using with EC2 (and auto-scaling)

2011-07-21 Thread John Fieber
iguring out extending facter with ec2 facts, and it is working well enough that I'm not compelled to change at this point. If I were starting from scratch I'm not sure which would make more sense. -john -- You received this message because you are subscribed to the Google Groups "

[Puppet Users] Re: Modules for Solaris

2011-07-21 Thread John Lyman
I would be especially interested if anyone has a good way to manage / etc/system. I am currently using the concat module, but it's not the best method. I know the "puppet way" would be to use augeas, but I haven't had any luck compiling it with sun studio and don't want to go the gcc route for va

[Puppet Users] Re: exec onlyif not working properly

2011-07-23 Thread John Martin
I believe your issue is that your grep command will ALWAYS return 0 since it will see it's one process in the process list. You must add a second grep to ignore it. Try the following: unless => "/bin/ps -aux |/usr/bin/grep '/data/service' | grep -v grep&qu

[Puppet Users] Re: service start/stop

2011-07-25 Thread John Martin
And adding to Craig's comment, you should "sudo su -" to root in order to run the service script in same fashion as Puppet will. Sometimes the user environment is setup differently (i.e. JAVA_HOME). John -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Validating a puppet configuration

2011-08-01 Thread John Warburton
is exactly the use case for cucumber-puppet. It compiles your > Does anyone do this on a large scale? I have 140 manifests managing over 1600 resources. Writing cucumber for all that seems quite burdensome John -- You received this message because you are subscribed to the Google Groups "P

[Puppet Users] Re: Custom fact question

2011-08-01 Thread John Martin
The Fact will get downloaded ahead of the manifest being compiled. You just need to add a require => Service[myservice] to the config file. John -- 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] Re: How to query other classes/defines configurations in the same node?

2011-08-05 Thread John Martin
on each update which writes to the puppet file server directory. The dynamic content can be passed to the function using the template or inline_template functions. HTH. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to th

[Puppet Users] Re: pluginsync before catalogue?

2011-08-05 Thread John Martin
Hey John, I've been using environments quite some time with lots of success. I love the idea of creating a bootstrap environment which I never thought of. This gave me an idea to address an issue I'm trying to tackle. A client s using Puppet for their app setup/deployment. We p

[Puppet Users] Re: Step by step guide to setting user passwords

2011-08-05 Thread John Martin
You can also use the ralsh command where the user is created as long as puppet is installed. The command will spit out the complete user dsl. ralsh user student Also, make sure the password is in single quotes so $ doesn't get interpreted. -John -- You received this message becaus

[Puppet Users] Re: Is accessing vars from different class safe?

2011-08-06 Thread John Martin
ing across classes as well. One last thing would be to use a "require config_class" statement before attempting to access the config var. John -- 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] Re: Config files based on rpm version

2011-08-07 Thread John Martin
x27;t know it off the top of my head. John -- 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 unsubscribe from this group, send email to puppet-users+unsubscr...@google

[Puppet Users] Re: pluginsync before catalogue?

2011-08-08 Thread John Martin
John- Thanks for that in-depth feedback. It was great and something to chew on. I'm going to need to evaluate the integrity risk to the isolation requirements of the client to see which practice makes most sense. I do agree that the addition module approach would add to the consistency

Re: [Puppet Users] ANNOUNCE: Puppet Module Tool version 0.3.4

2011-08-09 Thread John Warburton
to manual. I may end up creating an RPM/pkg for each module to install...] Hope this helps someone out there John -- 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

Re: [Puppet Users] ANNOUNCE: Puppet Module Tool version 0.3.4

2011-08-09 Thread John Warburton
puppetlabs-lvm John -- 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 unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For mor

Re: [Puppet Users] Community Package Repos for Puppet Labs products

2011-09-12 Thread John Wiegley
>>>>> Michael Stahnke writes: > I've updated RPMs for el5, el6, f14, f15. Next I'll do el4 and then SLES. This is great, Michael, thank you very much! John -- You received this message because you are subscribed to the Google Groups "Puppet Users" gr

[Puppet Users] Puppet not pushing file

2011-09-13 Thread John Kennedy
ite.pp: import nodes/* >From /etc/puppet/manifests/nodes/client.pp node client { file { "/home/admin/puppet/jck.txt" owner => admin group => admin mode => 0744 source => puppet:///test/jck.txt } John

[Puppet Users] Re: Puppet not pushing file

2011-09-13 Thread John Kennedy
Sorry, forgot to include the puppet command output...: # puppet agent --test --verbose info: Caching catalog for client info: Applying configuration version '1315910859' notice: Finished catalog run in 0.02 seconds John Kennedy On Tue, Sep 13, 2011 at 12:13, John Kennedy wrote:

Re: [Puppet Users] Re: Puppet not pushing file

2011-09-13 Thread John Kennedy
d the : and , (I hate it when I forget those...). Just to ask, should there be a comma on the source line since it is the last line of the section? No errors in /var/log/messages. It just says Caching catalog for... Applying configuration version...Finished catalog run in... messages but the file i

Re: [Puppet Users] Re: Puppet not pushing file

2011-09-13 Thread John Kennedy
On Tue, Sep 13, 2011 at 12:52, Bernd Adamowicz wrote: > > > Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] > Im Auftrag von John Kennedy > Gesendet: Dienstag, 13. September 2011 13:43 > An: puppet-users@googlegroups.com > Betreff: Re: [Puppet

[Puppet Users] puppet kick getting hostname not match with the server certificate

2011-09-14 Thread John Kennedy
happening. Any help would be appreciated. Thanks, John John Kennedy -- 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 unsubscribe from this group, send email to p

Re: [Puppet Users] Source of external node data?

2011-09-15 Thread John Warburton
On 16 September 2011 07:32, Douglas Garstang wrote: > Where are people more likely to source external node data from? > > a) By using extlookup, hiera etc within each puppet module to load > data specific to that module, OR > b) Having the external node script source everything at once from, say >

Re: [Puppet Users] Requiring a package to satisfy a provider requirement

2011-09-19 Thread John Kennedy
as a provider, isn't available, > nor is the passwordfile. But then it won't be available because > glassfish isn't installed. > > Is there a way to pend the domain item until the glassfish package > requirement is satisfied? > > Thanks > Matt > > W

[Puppet Users] Accessing class variables set in another run stage

2011-09-22 Thread John Morrissey
without a problem. This seems a lot like http://projects.puppetlabs.com/issues/4778, but I'm running the 2.6.2-5 packages from Debian squeeze, which includes the fix for #4778 (65ef24e5...) Am I doing something wrong? Is there a better way to do this? john modules/pop_vars/manife

[Puppet Users] Passing additional dependencies into a class

2011-09-22 Thread John Morrissey
x27;foo'], Package['bar']], } but this requires apache2 consumers to pass the entire dependency list; the apache2 base class can't inject its own dependencies transparently. I'd like the passed dependencies to be *in addition to* any dependencies the apache2 base cla

[Puppet Users] Re: CPAN package provider?

2011-09-27 Thread John Lyman
We are using ActiveState perl so we compile ppms from cpan modules. I created a definition based on this page: http://www.windley.com/archives/2008/10/using_puppet_and_cpan.shtml It works pretty well for us. Ideally, a provider would be better than a definition, but this works in the mean time.

[Puppet Users] Re: Passing additional dependencies into a class

2011-09-30 Thread John Morrissey
On Thu, Sep 22, 2011 at 01:11:28PM -0700, jcbollinger wrote: > On Sep 22, 12:54 pm, Robin Lee Powell > wrote: > > On Thu, Sep 22, 2011 at 09:53:46AM -0400, John Morrissey wrote: > > > I'm using an Apache 2 base class based on > > >http://proj

[Puppet Users] apply.pp module missing?

2011-10-02 Thread John Bower
Hello, I have succesfully installed puppet on ubunu, one master and one client. I am going through the documentation and I am having a hard time getting this example to work http://docs.puppetlabs.com/learning/manifests.html $ puppet apply my_test_manifest.pp I get this error root@puppet:/etc/

[Puppet Users] unable to create user on client

2011-10-03 Thread John Bower
Hello, I installed the latest puppet through Gems, installation went well, I created the certs and puppet agent --test works well. I was able to create a resource user on the puppet server. However I am unable to run a simple "puppet user" command, here is what happens on the client I looked aro

[Puppet Users] Can't get servers to sync

2011-10-04 Thread John Bower
Hello, I have successfully have installed puppetmaster and client on two seperate vms. The client is called "cloneubuntu.local.net" and the master is "puppet.local.net" Certs are also correct, I signed them and everything went well. Client and Master can ping each other: Client: --

[Puppet Users] Re: RFC: Being able to exclude resources from reporting.

2011-10-05 Thread John Lyman
My tagmail.conf contains "all, !noreport: em...@example.com," so if I want to ignore a resource I just tag it with "noreport." Of course, that only applies to tagmail reporting. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this gr

Re: [Puppet Users] Re: Hostname fact doesn't handle hostnames with periods

2011-10-09 Thread John Warburton
wing. Can this be added to the documentation? I can't see reference to it in http://docs.puppetlabs.com/guides/custom_facts.html or http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts Thanks John -- You received this message because you are subscribed to the Google Groups "Pu

[Puppet Users] /etc/init.d/mysql =fail mysqld=success

2011-10-10 Thread John Bower
Hello. This is my mysql-server.pp file, both master and client are runing ubuntu. class mysql-server { package { "mysql-server": ensure => installed } package { "mysql-client": ensure => installed } service { "mysql": enable => true, ensure => running, re

Re: [Puppet Users] URL too long...

2011-10-11 Thread John Warburton
gt; > It looks like http://projects.puppetlabs.com/issues/6117. Can you try with a client running 2.7.x as well? John -- 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 unsubscribe from th

[Puppet Users] file server not right directory?

2011-10-12 Thread John Bower
Hello, I'm trying to share a file between the client and the server. On the server the file is located at: /etc/puppet/modules/mysql-server/ files/my.cnf the code that references to this file is as follows: file { "/etc/mysql/my.cnf": source => "puppet:///modules/mysql-server/my.cnf",

[Puppet Users] ERB templates and escaping Apache virtual hosts

2011-11-01 Thread John Morrissey
place that raises this error, so I'm guessing it's some kind of URL escaping/quoting ERB wants to do. john -- John Morrissey _o/\ __o j...@horde.net_-< \_ / \ < \, www.horde.net/__(_)/_(_)/\__

Re: [Puppet Users] Puppet node network configuration

2011-11-14 Thread John Kennedy
o achieve > this? Perhaps, more importantly, would this be the right approach? > > While this can be done, I think using DHCP would be better here. DHCP can be configured to serve "static" IP addresses based on the MAC address. You can then use puppet to maintain DHCP configuration. John

  1   2   3   4   5   6   7   >