Displaying 14 results from an estimated 14 matches for "vagn".
Did you mean:
vagin
2011 Aug 01
0
prep for 2.8: scopes and variables: nodes are not classes
...nodes as containers for classes
no variables defined in nodes
Of course it is still possible
to define resources and variables
in nodes. But the variables will
not be visible in any class scope and
cannot be used to implicitly configure
classes.
Comments and corrections welcome.
--vagn
results of running the three scripts:
vagn@nika:~/puppet-nika/patterns$ ./01_config.pp
notice: Scope(Class[main]): puppet version: 2.7.2
notice: Scope(Class[Legacy]): var1_global is global
warning: Dynamic lookup of $var2_base_node at
/u0/home/vagn/puppet-nika/patterns/01_config.pp:21 is deprec...
2011 Jul 02
8
err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "File[]"
I''m running Puppet 2.7.1 on the master as well as the agent and just
received a new error which doesn''t actually reference a module or a file, so
I''m somewhat stuck as to how to debug this. Any pointers?
The error is err: Could not retrieve catalog from remote server: Could not
intern from pson: Could not convert from pson: Could not find relationship
target
2011 Jul 01
4
require => Class
Hi
I have been trying to use class dependency and had no luck so far.
following are the two classes i am trying to use
[root@puppet]#cat libreoffice.pp
class libreoffice {
case $hostname {
"foo": { package { "libreoffice": ensure => present, require =>
Class["foo1"] } }
}
}
[root@puppet]#cat foo.pp
class foo1 {
package {
2011 Jul 23
2
Node or site.pp for global variables without dynamic lookup
Hi all,
I am working on rewriting my entire puppet environment and try to
''fix'' ''Dynamic lookup'' as it will be deprecated in some time, but even
after reading quite some docs and on the forum, it''s not really clear
to me.
What I have read so far, is that each variable must be fully-qualified
or parameterized in a class.
As a quick
2011 Apr 30
10
How to check if a package exists
Dear all,
I''m trying to do this. Say for example, I want this link: "liblcgdm.so
-> liblcgdm.so.1.8.0" to be present on the client only if "lcgdm-
libs-1.8.0-1sec.sl5" is already listed. I already have this to create
the link:
file {
''liblcgdm.so'':
ensure => symlink,
name => ''/opt/lcg/lib/liblcgdm.so'',
2011 Jun 30
5
How to define a hash table and loop over them in a definition?
This may have been asked before, if so, please excuse me and point me
to the right direction.
What I want to do is to define a hash table with multiple key->value
pairs. I would like to pass this variable to a file template and
generate a result file with all the mappings listed. Based on what I
read, I need to do it in a definition. But does Puppet supports loop
over a hash?
Any help would
2011 Jun 27
12
Ruby script to download files without 'puppet agent'
We have often the Problem that some files need to be checked for updates
faster than the cycle of the puppet agent. I try to solve this with a
script which tries to download the files directly from the fileserver of
the puppetmaster. So far i couldn''t get it to work.
I don''t know if i got the URL right, i did not find any examples on the
REST API documentation for the
2011 Aug 08
12
Hash Interpolation inside double quotes?
I''ve got this:
file {
''/opt/sugarsync/tomcat/tomcat-home/current'':
ensure => "tomcat-$config[''tomcat_version_server'']";
where $config[''tomcat_version_server''] was set with extlookup (the yaml
one), by loading:
---
tomcat_config:
tomcat_version_server: 6.0.20-1
tomcat_version_libs: 1.0-1
2011 Aug 01
4
Temporary requirements
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
package.
So we have a Puppet class, monitor::install which we include to
distribute
2011 Aug 05
5
Variable scope when having node inheritance
Hi
I''m having some trouble with the following setup:
node ''serverA'' inherits server-defaults {
include myApp::install
}
node ''server-defaults'' inherits default {
$sudoenv = ''custom_server''
}
node default {
$sudoenv = ''default''
include sudoers::config
}
class sudoers::config {
file {
2011 May 13
1
ubuntu package installs
hello puppet list
My puppet server is now working quite wonderfully. Thanks go out to
all who have assisted in getting it to this point. At this point in
time my config is now correctly installing packages according to
arch,os and release. Centos is working quite well as of now, but I am
attempting to get the ubuntu side of things to work as well. I am
frankly more familiar with RHEL under
2011 May 24
6
installing puppet client
Hi,
how to install puppet client thru puppet master .
My requirement is to install puppet client nearly 400 client servers.
its difficult to install puppet client in all the servers by apt-
get .
share u r suggestions .
Regards
chebrian
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2012 Jun 07
4
Dealing with multiple gid changes
So I discovered yesterday that if puppet changes the gid of a group it
doesn''t go through the file system and update them with the new correct gid
(at least this was the case on RHEL5 and client puppet v2.6.16 and
puppetmaster 2.7.12). Now I thought that it might be possible to have
puppet execute something like find /home/ -group <old_gid> | xargs chgrp
groupname. However
2011 Jun 24
7
Different users within same exec
I have the following exec in my manifest :
exec { some_exec:
path => [ "/bin","/usr/bin","/usr/local/bin" ],
command => "EXECUTE COMMAND 1",
onlyif => "EXECUTE COMMAND 2",
logoutput => "on_failure"
}
I want that the "COMMAND 1" should be executed by "USER 1" and
"COMMAND 2"