I recommend taking a look at R I Pienaar's alternative extlookup
implementation. It supports YAML in addition to csv which allows for the
full range of available variable types to be pulled in from external
sources. I've combined this with a YAML-based ENC to put all variables for
a single node
On 08/01/2011 05:04 PM, Jared Curtis wrote:
* Central Dashboard instance
* Central CA
Would it be a problem if your central
CA and dashboard became unavailable?
-v
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this gro
Ok , so this was actually two problems...
The first , can't have quotes around the folder location in
#includedir...
Second is the way I was populating those files...
Here's the sudo module definition...
define sudo::directive (
$ensure=present,
$content="",
$source=""
) {
# sudo skipp
Just wanted to say this turned out to be an Amazon problem.
The Amazon EC2 console showed the private DNS for the PuppetMaster
node to be X. But SSHing into server X and running 'hostname' to get
the name showed Y. There was a mismatch between what Amazon console
thought the DNS was and what the s
Cool, thanks for the clarification Gary.
On Aug 1, 2:02 pm, Gary Larizza wrote:
> On Mon, Aug 1, 2011 at 1:50 PM, Blueplastic wrote:
> > It is not listed in the command details on this page?
>
> >http://docs.puppetlabs.com/man/agent.html
>
> > But it is cited as an example of a valid puppet age
On 08/01/2011 01:41 PM, treydock wrote:
#includedir "/etc/sudoers.d"
Maybe without the quotation marks?
--
vagn
--
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
These are the perms we're using for that functionality:
dr-xr-x--- 2 root root 4096 Jul 7 18:09 /etc/sudoers.d
--
Nathan Clemons
http://www.livemocha.com
The worlds largest online language learning community
On Mon, Aug 1, 2011 at 2:49 PM, treydock wrote:
> From the sudoer docs it mentioned
>From the sudoer docs it mentioned making the files in /etc/sudoers.d
be 440, but what about the folder? Here's the perms on /etc/sudoers.d
drwxr-xr-x 2 root root 4096 Jul 26 19:16 .
drwxr-xr-x. 64 root root 4096 Jul 26 19:16 ..
-r--r- 1 root root 53 Jul 26 19:16 zabbix-puppet
- Trey
On Aug 1, 6:37 am, Martijn Grendelman wrote:
[...]
> In classes that have been defined in the top scope (imported in site.pp),
> I can use the fully qualified names ($::somevar). That results in the
> correct value, and it doesn't generate any warnings about dynamic scoping.
>
> However, inside
Thanks for the replies.
I did start off down the route of distributing binaries but was having
problems getting them to run on the different architectures involved
and ended up with multiple packages - and every time I needed to tweak
the build config I was having to rebuild multiple times.
It was
I'm currently using Puppet (2.7.1) to manage a single site. I'm in the
process of bringing up a second data center which of course will be
managed by Puppet. The number of managed sites will grow to at least 7
in the near future. How is everyone else handling multiple sites
within puppet?
Here's w
On Mon, Aug 1, 2011 at 1:50 PM, Blueplastic wrote:
> It is not listed in the command details on this page?
>
> http://docs.puppetlabs.com/man/agent.html
>
> But it is cited as an example of a valid puppet agent command at the
> very bottom of the page.
>
> Kinda confusing.
>
> --
> You received t
It is not listed in the command details on this page?
http://docs.puppetlabs.com/man/agent.html
But it is cited as an example of a valid puppet agent command at the
very bottom of the page.
Kinda confusing.
--
You received this message because you are subscribed to the Google Groups
"Puppet U
Hi there. Can somebody help me diagnose an error?
On the Puppet Master node, we've started the Puppet Master with:
ubuntu@domU-12-31-39-09-x-x:~$ sudo puppet master
Then from a node where we want to apply updates, I ran:
ubuntu@ip-10-72-x-x:~$ sudo puppet agent --server domU-12-31-39-x-x-
x.co
It's working here for RHEL 5 & 6. Check the owner and perms of sudoers.d,
that's probably not your problem, but it's the only one we've had.
--
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@googl
Hello all,
I've recently installed a puppet PKI as detailed in the "Multiple
Certificate Authorities" document. However, when I try to list the
signed certificates using "puppet cert list --all", I get the following
output:
- bnjpuppet02.mydomain.com (57:51:05:FF:03:5A:C2:4D:3B:E2:BF:CF:18:B3:C
Take a look at Jordan Sissel's FPM software if you want a cheap way of
making a deb.
Ken.
On Aug 1, 2011 7:10 PM, "Daniel Pittman" wrote:
> Yup. This is totally the right way to do that.
>
> If you don't want to, I would suggest that you compile once, tar up
> the content, and just untar it on th
I want to start out with an apache class that will disable all modules
except for a pre-defined list, thus establishing a baseline of active
modules.
Then as needed, other classes could enable a module that they require
that would have been disabled by the baseline state.
Its possible several class
Yup. This is totally the right way to do that.
If you don't want to, I would suggest that you compile once, tar up
the content, and just untar it on the machine.
If you really, really want to go through installing the compiler,
building, then removing it, you can: write your script to use apt to
Is anyone having success with #includedir option in sudo? I have a
module that uses a definition to create files in /etc/sudoers.d/ which
is referenced in the main suders file as #includedir "/etc/sudoers",
but these entries are not getting referenced when sudo is used.
I'm running CentOS 5 and 6
On Thu, Jul 21, 2011 at 7:37 AM, Peter Meier wrote:
>> I'm still not getting my error() messages in the report yaml ... why?
>
> Probably, because functions are evaluated on the master, while the
> report is created on the client when the catalog is applied. So these
> messages never get sent down
Peter Meier wrote :
> >> Is this a known issue? Is there any work-around? It's really breaking my
> >> CentOS 6 servers' ability to find their REPOs. :-)
> >
> > You need to have the lsb_release command installed for the lsb* results
> > to appear.
> >
> > Fedora/Redhat have it in the redhat-ls
Is the redhat-lsb package installed? IIRC it provides the necessary info
for the lsb facts.
On Aug 1, 2011 8:27 AM, "Derek J. Balling" wrote:
> We just started testing CentOS 6.0 here, and I'm using Facter 1.6.0
>
> If I run this command from my CentOS 5.x test machine:
>
> [root@puppetclient.nj
On 08/01/2011 06:40 AM, David wrote:
The scenario is, every server in our estate of Debian machines
requires some monitoring software which is not provided as a Debian
package.
You should make your own debian package(s) for the monitoring software
instead of installing from source on every m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
>> Is this a known issue? Is there any work-around? It's really breaking my
>> CentOS 6 servers' ability to find their REPOs. :-)
>
> You need to have the lsb_release command installed for the lsb* results
> to appear.
>
> Fedora/Redhat have it in t
On 30/07/11 05:26, Derek J. Balling wrote:
> We just started testing CentOS 6.0 here, and I'm using Facter 1.6.0
>
> If I run this command from my CentOS 5.x test machine:
>
> [root@puppetclient.nj1:~]# facter --version
> 1.6.0
> [root@puppetclient.nj1:~]# facter | grep lsb
> lsbdistcodename => Fin
Hi,
I'm trying to use stored configs with puppet 2.7.1
But I get the following error once puppet agent connects to the
master:
err: !!! Outdated mysql gem. Upgrade to 2.8.1 or later. In your
Gemfile: gem 'mysql', '2.8.1'. Or use gem 'mysql2'
This seems to be activerecord (3.0.9) check - BUT I've b
We just started testing CentOS 6.0 here, and I'm using Facter 1.6.0
If I run this command from my CentOS 5.x test machine:
[root@puppetclient.nj1:~]# facter --version
1.6.0
[root@puppetclient.nj1:~]# facter | grep lsb
lsbdistcodename => Final
lsbdistdescription => CentOS release 5.3 (Final)
lsbdi
Hi,
I'm trying to retrieve a configuration value from a local file in a
custom fact. I'm having some problems with this though. I hope,
someone can point me to the right direction.
My configuration file looks something like this:
cat /tmp/example.properties
my.application.wsdl.url=http://myserver
Seeing exactly the same, nearly the same setup (using $environment instead
of hardcoding production/development, trying to use my own extension).
Running puppet 2.6.9 on CentOS 5.6 (both master and agent). I did not see
any issue about this yet, but since I'm just starting with puppet it might
Hi, I'm quite new to Puppet.. I'm wondering if someone could point me
in the right direction regarding the best way to manage a temporary
requirement within Puppet?
The scenario is, every server in our estate of Debian machines
requires some monitoring software which is not provided as a Debian
pa
On Mon, Aug 1, 2011 at 8:03 AM, linuxbsdfreak wrote:
> HI Doug,
>
> I am also facing the same issue after following the steps from the
> book. I tried with nginx and passenger and i mentioned it on the
> following post.
>
>
> http://groups.google.com/group/puppet-users/browse_thread/thread/44bc894
prep for 2.8: scopes and variables: nodes are not classes
I have been preparing for 2.8 by
experimenting with 2.7.X and seeing
what it takes to get rid of the
warnings. I would like to share my
results in a number of upcoming posts.
Begin with the simple question of
hard-wiring scopes. the '
HI Doug,
I am also facing the same issue after following the steps from the
book. I tried with nginx and passenger and i mentioned it on the
following post.
http://groups.google.com/group/puppet-users/browse_thread/thread/44bc89455ccc311a#
Regards,
Kevin
>
>
>
>
>
>
> > Douglas Garstang wrote:
On Jul 29, 11:17 am, Paul Morgan wrote:
> On Jul 29, 2011 9:25 AM, "Oliver Beattie" wrote:
>
> > 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
>
> Will stage
On Jul 29, 7:55 am, Oliver Beattie wrote:
> 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
Hi,
I am bringing back a topic that I started a month ago. Summer holidays
prevented me from following up on it back then, but they didn't make the
problem go away, unfortunately ;-)
>> Having installed Puppet 2.7.1 on my testserver yesterday, I am now bugged
>> by log messages, that tell me not
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@g
You can indeed use Exported resources.
See the first example in this documentation:
http://docs.puppetlabs.com/guides/exported_resources.html
The example shows how to have every host export its SSH public key,
and then collect every host’s key and install it in the
ssh_known_hosts file (which is
On 1 August 2011 15:47, Nikolay Sturm wrote:
> * Lars Kellogg-Stedman [2011-07-29]:
> > I am trying to place some sanity checks (currently as git pre-commit
> > hooks) in our configuration repository to avoid committing invalid
> > Puppet configurations.
>
> This is exactly the use case for cucum
40 matches
Mail list logo