Displaying 20 results from an estimated 60000 matches similar to: "module dependencies"
2009 Nov 12
6
Multiple environments
So I''m trying to get multiple environments to work with puppet 0.25.1
on ubuntu 8.04 and no matter what I do, puppet just completely ignores
any environment setting. There''s really next to no information in
terms of configuration on the multiple environments documentation page
(http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments)
other than saying that the
2009 Sep 08
7
Puppetmaster be client of another puppetmaster?
Is is possible to have a puppetmaster that is a client of a different
puppetmaster? We manage our customers'' server via puppet, but one customer
has a puppetmaster server which looks after their internal systems. We''ve
tried the following in /etc/puppet/puppet.conf ("customer" and "us"
replacing the domain names) on their puppetmaster:
[puppetmasterd]
2009 Nov 22
4
Usage of "schedule"
Hello,
I''m newbie for puppet.
I would appreciate someone tells me how to use "shedule".
What I want to do is puppet client( puppetd ) tries to syncronize /etc/
hosts permission as 644, and puppetd tries to check every 3 minutes.
( I know 3 min is so quick, this is just a test of "schedule")
So I wrote manifests/site.pp,
> node default {
> schedule {
2011 Mar 31
5
Exclude a resource from reports
A little while back I asked how to make puppet not report on a
resource.. and was shown the loglevel metaparam:
Quoting bellman@nsc.liu.se:
There is a metaparameter called ''loglevel''. If you set that
to something lower than "notice" (i.e. either "info" or "debug"),
then Puppet won''t report that it applied the resource...
So I made my
2009 Feb 10
7
Lock file /var/lib/puppet/state/puppetdlock
I''m just starting a roll out of Puppet and I''m seeing a problem on maybe
25% of client nodes. The symptoms are that the clients stop updating. In
the Puppetmaster log, I''m seeing things like:
Feb 9 20:10:23 vs4 puppetmasterd[17942]: Compiled catalog for xxxx in
0.05 seconds
Feb 9 20:40:41 vs4 puppetmasterd[17942]: Compiled catalog for xxxx in
0.05 seconds
Feb 9
2008 Aug 11
6
Class dependency question
So I have two classes for openvz setup. The first is openvz::setup
and it sets up the box for OpenVZ.. then another class (in same .pp
file) called openvz::master sets up the config for the main system (as
opposed to a VE). The error I see is that the openvz::master class is
executed (and fails) becuase it doesn''t seem to load up the setup
class?
debug: Calling puppetmaster.getconfig
2009 Feb 23
3
Require package not working as expected
I have the following as part of a module:
--------------------------------------------------------------------------------
# Ensure "lsb-release" installed
package {"lsb-release":
ensure => installed,
}
# Use our sources.list
file { "/etc/apt/sources.list":
owner => root,
group => root,
mode =>
2010 Mar 03
6
File paths must be fully qualified
I was using Puppet 0.24.8 and now upgrade the puppet server and client
both to 0.25.4 (on 1 machine i.e. server and client), but i am facing
some problems. While testing, some of the configs which were/are running
fine on older version generates error here;
for instance,
i have defined the FileSource path in ''/etc/puppet/fileserver.conf''
[myFileSrc]
path
2009 Jun 30
6
Variable named "memory" in templates
I tried to use a Puppet variable named "$memory" and access it from
a template, like this:
$memory = 4711
file {
"/tmp/test.txt":
content => inline_template("memory = <%= memory %>\n");
}
One would think that my file would contain "memory = 4711" after that,
but instead the memory variable seems to hold a
2013 Mar 14
5
Help me wrap my head around Yaml/Hiera with erwbgy/system
Trying to figure out the erwbgy/system plugin and just getting stuck..
first run it did some changes, but it ignored parameters for ntp and now
its not refreshing if I update the yaml at all, Im slightly lost at what I
may be missing :)
hiera.yaml
---
:hierarchy:
- %{certname}
- %{environment}
- global
- %{environment}/common
:backends:
- yaml
:yaml:
:datadir:
2011 Jul 07
7
Testing if a puppet class is going to be installed
In a bunch of my templates and manifests, I need to have logic which
depends on whether or not a particular (other) puppet class is going
to be installed on the machine.
For example, for setting up the proper nagios monitors, you''d want to
say something like "if this machine has the apache class, then
configure apache monitoring" It''s not feasible I think to put this
2013 May 16
3
vim-puppet syntax highlight
Hi
I am trying to install vim-puppet for syntax highlight of puppet manifest
file. I first installed vim-puppet and then vim. Then I ran
"vim-addon-manager -w install puppet" I am still unable to see the colours
on site.pp
bala@WheezyMaster:~$ vim-addon-manager
# Name User Status System Status
editexisting removed removed
justify
2009 Aug 28
4
Redmine not mailing puppet-bugs?
It looks like mail is no longer making it the Redmine
The most recently puppet-bugs entry for #2511 is from August 24th:
http://groups.google.com/group/puppet-bugs/browse_thread/thread/756618094cd4f29e/c9258938336dab7e?lnk=gst&q=2511#c9258938336dab7e
But the most recent update to the ticket was about a day ago:
http://projects.reductivelabs.com/issues/2511
2013 Mar 04
7
I moved my modules and manifest directory in puppet master.
I also made the changes below in the puppet.conf file to tell puppet where
to look for the the modules and manifests. I then restart the puppet master
then ran puppet command to apply changes to a puppet client it did not
find anything to change just got these three lines "info: Caching catalog
for pdlnx-adpt03.kareoprod.ent, info: Applying configuration version
2011 Apr 05
6
Node classifier not loading any defined classes
All,
I am sure this is just something I am doing wrong, but I am trying to
implement a node classifier (shell script) to have my nodes inherit
the proper classes. However, when I run it I am not getting any
classes except those that are defined in default.
Rather than going into detail showing all of my configurations right
off the bat, I have a question:
I just stood up a
2010 Jun 25
7
Ability to deploy a "skeleton" directory
Hi,
I''d like to be able to deploy a skeleton directory through puppet, i.e.
puppet deploys it only if it does not exist.
I tried this :
file {"/path/to/this/directory":
source => "puppet:///files/path/to/the/skeleton",
ensure => directory,
recurse => true,
owner => auser,
group => agroup
}
But I have 2 problems for the moment :
- if I
2009 Jul 07
1
Installing debian-backports-keyring
I want to install debian-backports-keyring on puppet clients. However, I
can''t install it because the client doesn''t already have the key:
--------------------------------------------------------------------------------
err: //Node[basenode]/tclbase/Package[debian-backports-keyring]/ensure:
change from purged to present failed: Execution of ''/usr/bin/aptitude -y
-o
2009 Jul 30
7
arrays, loops, etc
Inspired by the recent thread titled "Array input of dirs, ensuring
their existence" I thought I''d write up the problem I''m running into. I
was chatting on irc about it, I don''t think puppet has a clean solution.
Like the other poster, I''m defining an object that takes an array. In
my case, I''m defining gpg keystore, which can contain a
2010 Aug 31
3
File selection for template() similar to source
I want to be able to have Puppet determine which file to use as the
source of a template() call in a manner similar to the source
parameter.
Basically, I want to have a file resource that will use the most
appropriate file for a template. While I can do:
file { "file.conf" :
source => [ "puppet:///module/file.conf.${hostname}",
2010 Jul 29
5
Multiple repositories under one file
Hello All,
In all the examples that I see you configure one repo per file;
i.e:
yumrepo { "testing.com-repo":
baseurl => "http://repos.testing.com/fedora/$lsbdistrelease/",
descr => "Testing.com''s YUM repository",
enabled => 1,
gpgcheck => 0,
}
But how do I specify multiple entries to the same file?. For
instance, I just one to have one