similar to: Puppet + APT, I am lost...

Displaying 20 results from an estimated 40000 matches similar to: "Puppet + APT, I am lost..."

2009 Dec 04
3
Foreman reports - no pretty pictures :D
I''m playing around with foreman for the moment. I can''t seem to figure out how to make the dashboard look like in this screenshot http://theforeman.org/wiki/foreman/Screenshots#Dashboard In order for those statistics to work what should be done? I have activated the rrdgraph reports in puppetd, uncommented the line ":rrd_report_url: report/" in config/settings.yaml
2010 Jun 24
8
Passenger barfs.
I have a freshly installed and updated CentOS 5.4 system running puppet 0.25.5. I followed the passenger docs here: http://projects.puppetlabs.com/projects/puppet/wiki/Using_Passenger Upon starting the client, the following appears in the apache error log. [Thu Jun 24 10:48:40 2010] [error] [client 10.10.4.45] Premature end of script headers: production [ pid=6785 file=ext/apache2/Hooks.cpp:706
2010 Sep 07
5
Module availability, loading order
Hi, I have create the following module: modules/foo `-- manifests |-- definitions | `-- line.pp `-- init.pp $ cat modules/foo/manifests/init.pp import "definitions/*.pp" $ cat modules/foo/manifests/definitions/line.pp define myline($file, $line, $ensure = ''present'') { .... } I try to use the definition in a class: class testfile { file {
2010 Jun 24
2
Vcsrepo module use git with certificate
Has anyone tried using this puppet forge module with a certificate? (puppetlabs/vcsrepo) Any ideas on how to specify via command line to git what certificate to use? The only way that I know to tell git to use a specific certificate is to use the GIT_SSH env variable and specify a script which calls ssh -i ... $@ Silviu -- You received this message because you are subscribed to the Google
2010 Jan 21
5
rrd library missing
I am trying to get rrd graphs working, but I am getting the infamous "RRD library is missing; cannot store metrics". Everything I have read about the error applied to redhat or ubuntu. I am using Solaris 10. I installed both the rrdtool Solaris package and the RubyRRDtool gem. When I run "ruby -rRRDtool -e ''puts :yep''", it successfully returns
2011 Sep 14
10
fail to exec apt-get upgrade (change from notrun to 0 failed...)
So here is my manifest: class aguu { exec { "update": command => "apt-get update", path => "/usr/bin/" } exec { "upgrade": command => "apt-get upgrade -y", path => "/usr/bin/" } } It it supposed to run apt-get update + upgrade
2012 Mar 28
4
Hash iteration order in a template not consistent
Hi, I did some basic googling, but didn''t find an answer yet. I am sorry if this is a FAQ. In a manifest for creating an Apache config file, I define a hash like this: $aliases = { ''/foo/'' => ''/home/foo/www/'', ''/bar/'' => ''/home/bar/www/'', ''/baz/'' =>
2011 Dec 01
6
subscribe exec to a dir fails
Hi, I am trying to convince aptitude update to run only when a file changes in /etc/apt/sources.list.d: exec { <snip> "aptitude-update": command => "/usr/bin/aptitude update", subscribe => "$basedir/sources.list.d", refreshonly => true; } File { owner => ''root'', group =>
2010 Jun 17
5
Could not find class, code-blind
I''m troubled with a node-definition not able to resolve a class: Could not find class rhnsd::common at /etc/puppet/manifests/nodes.pp: 8 on node X Content of manifest/site.pp: import "nodes.pp" [...] The layout of modules/rhnsd/ is: |-- files | `-- up2date-rhn |-- manifests | |-- client.pp | |-- common.pp | |-- init.pp | `-- rhn.pp A `cat'' from each
2011 Jun 30
4
using memorysize fact in manifests
Hi, I want some config depending on memorysize. What I tried was if ($memorysize >= 256 * 1024*1024) { ... } But this fails because $memorysize is a string (and contains a "G") and can''t be compared to an int. Are all facts strings? How do I work with numbers? regards, Andreas -- Andreas Kuntzagk SystemAdministrator MDC Berlin / BIMSB Tel.: +49 30 9406 2997 --
2011 Mar 11
9
Why is it so hard to make a sane nagios server config?
I''ve tried to achieve my overall goals with several different features of Puppet, but I''ve hit a bit of a wall here. I think it''s time for me to explain what I''m trying to accomplish: I want the enabling of a service in my manifests to configure the monitoring of that service by a nagios server, without needless repetition. Let me explain how my
2009 Dec 24
7
nested variables
Hi all! I have quation: how i may use nested variables/facts? For example, I have variable $iface. It''s variable declared in node brakets, and, use with defenition. iface may be eth0, eth1(Linux), em0, ... <freebsd>, ... is fact: facter | grep eth0 | grep mac macaddress_eth0 => 54:52:00:3D:CB:40 We don''nt know name of $iface in our module (to generate network
2011 Jan 27
9
CIDR-matching in puppet manifests?
I have a few settings that change based on the network that a system is in, and I have a heterogeneous collection of networks (a few /24s, some /25s, a /29 and a couple /27s, and hey look a /16 in rfc1918 space and...). So I can''t do simple regex matches on dotted-quad IP notation and expect to get a complete story. What I''d like is something like, I dunno... $nameserver =
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 Aug 31
1
Xen locks down on specific server after 1-3 days
I''ve tried quite a few things, googleing gives some results but they don''t seem to be related. I have two servers one for testing one for production. I needed xen on the production one so I could get windows running on top of linux. Unfortunately the test server is different from the production one. The testing one has a Xeon X3210(4 cores), 2GB ram, the production one has
2010 Sep 07
1
Could not evaluate: No ability to determine if ... exists
Hi, What does this error mean? Sep 7 17:15:54 racey puppet-agent[3291]: (/Stage[main]/Sysctl/Sysctl[kernel.shmmax]) Could not evaluate: No ability to determine if sysctl exists I don''t know where to start looking. If I should post my configuration, please let me know. Best regards, Martijn.
2006 Sep 03
6
Aptitude vs. apt
Hi all, I need to write an aptitude provider for Debian. How should it differ from apt? Can I just s/apt/aptitude/g, or do I need to do something else? Any other weird behaviours I should look for or whatever? I''ll make it a subclass of apt (and since Deb seems to specify aptitude as the default now, maybe apt should subclass aptitude), so any dpkg answerfile work should work on
2006 Aug 27
5
Re: preseeding files only on reinstall
On Aug 27, 2006, at 9:55 AM, Thorsten Sandfuchs wrote: > hio, > me again :) > > In Debian, there is a mechanism to preseed debconf (configuration- > database for > the system) with decisions, before installing a package. Debconf > mussn''t ask > the user then. I wrote this pp for preseeding-support: [snip] Very cool. Seems like that''s something that
2007 Nov 04
21
Package management
Anyone care to share how they handle yum updates? We have a script that runs yum update nightly and then emails us the results when there are packages to be updated. Ideally I''d like a way to keep a class in site.pp that can be uncommented to run yum update -y after the update list is reviewed by a human. Tim
2007 Dec 06
1
order, managing one file and refreshonly
Hello! I''m quite newbie to puppet. I''ve got 3 questions: 1. I''ve noticed, that puppet apply defined classes/modules in specyfic order. I''ve got something like this im my configs: /etc/puppet/cf/manifests/site.pp: import "networks/*/site.pp" node generic_node { include "puppet" include "apt" include "debian" } ---