Re: [Puppet Users] Custom fact question

2011-07-29 Thread Oliver Beattie
I need it to run at a specified point during the manifest though. The value of the fact depends on a package being installed. And my config files depend on the value of the fact. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this dis

[Puppet Users] Custom fact question

2011-07-29 Thread Oliver Beattie
Hi, I need to use the output of a script to set the value of a variable. I understand the only way to do this is to use a custom Facter fact. However, this script will only run when (naturally) it's been installed, which is something Puppet takes care of. Conf files, which I would very much li

Re: [Puppet Users] Adding users to groups

2011-07-22 Thread Oliver Beattie
Hi, Yes, this is Debian (Ubuntu). If I specify groups (not gid) surely the groups the user gets added to should be secondary, not primary? If I run the command directly I get the same error (although not if I lowercase the g of course). —Oliver -- You received this message because you are su

[Puppet Users] Re: Adding users to groups

2011-07-22 Thread Oliver Beattie
(I should point out, the user was called deploy in the actual manifest :-) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/gxCVq9pmJi0J. To post to this gro

[Puppet Users] Adding users to groups

2011-07-22 Thread Oliver Beattie
I have a definition like this in one of my manifests: group { 'foo': ensure => present, } user { 'bar': ensure => present, groups => ['foo'], managehome => true, home => '/home/bar', shell => '/usr/sbin/nologin', require => Group['deploy'], } When I run it, however,

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

2011-07-21 Thread Oliver Beattie
Hi there, I am trying to setup a "cluster" on Amazon EC2, using auto-scaling. I currently have it working so that when the instances are started, they generate a CSR, which is automatically signed by the server if it's valid by a cron job I setup to run every minute. However, where does one go