search for: language_guid

Displaying 10 results from an estimated 10 matches for "language_guid".

Did you mean: language_guide
2012 Jan 10
3
Exec depends on ressources that are several different types
...ny-perl": ensure => installed } exec { "/path/to/file.pl": require => XXXXXXXX } ____ at XXXXXX I would like to put Package[''libconfig-tiny-perl"] AND File["/path/to/file.pl"] which doesn''t work. In the docs ( http://docs.puppetlabs.com/guides/language_guide.html ) it gives an example service { ''sshd'': require => File[''sshdconfig'', ''sshconfig'', ''authorized_keys''] } But this only works for multiple dependencies that have the same nature, here "File" I have...
2013 Mar 20
2
How to make sure my common module executes before all other ones
I am running puppet 3.1.1 and have a site.pp which roughly looks like this site.pp: node basenode { include common } node ''server1'' inherits basenode { include role::appserver } node ''server2'' inherits basenode { include role::webserver } And my common module includes lots of different types of classes for creating base directories, adding in
2012 Apr 03
6
2 package resources for the same package installation in two differents modules caused errors
Hello, We had the following situation where including two classes that were ensuring the installation of the same package "php5-imagick" and it was causing an error indicating that two ressources of the same name are forbidden (sorry, I don''t have the exact message error since we fixed quickly the error). Since we are newbies in puppet, we would like to understand what this
2013 Jan 09
1
Explain Manifests and Modules
Hello all, Can someone please explain why there is a manifests folder in /etc/puppetlabs/puppet e.g. /etc/puppetlabs/puppet/manifests If there is a manifests folder within each modules folder in /etc/puppetlabs/puppet e.g. /etc/puppetlabs/puppet/modules/ntp/manifests Is this directory /etc/puppetlabs/puppet/manifests for building out your config tree''s and calling modules etc. if
2012 Jun 28
2
Execute a shell script residing in puppet master
I''m a newbie to puppet and have been trying to execute a shell script residing in puppet master machine in a puppet agent, with no luck so far. Would appreciate any ideas on how to do this. -- 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 unsubscribe from
2012 Jul 25
3
manifest variable with sed - problem
Hello, i have a problem in my sudo manifest file, because in the variable $name comes sometimes usernames like user.lastname, but i need for sudo (includedir */etc/sudoers.d/*) file names with no dots (like user_lastname). I need a new variable, where is the dots change by underscores. My first try was like this, but it isn''t working well. $name_underscore = "`echo $name | sed
2012 Jun 18
8
Conditional with variable from facter
Hi. I have the following facts available: # facter | grep oper operatingsystem => CentOS operatingsystemrelease => 6.2 Now, if I wish to use conditionals on these facts, I have to do it like this: case $operatingsystem {} case $::operatingsystemrelease {} I''m puzzled as to why can''t I just use $operatingsystemrelease, and what do these two semicolons mean? Thank
2012 Jun 27
6
Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type ruby::gemInstall at myFile.pp:82
I have a module located at /etc/puppet/environments/test/modules/ruby. I n this I have a manifests folder with two .pp files - init.pp and gemInstall.pp. In one of my node def files I have: include ruby ruby::gemInstall { ''someGem-version.gem'': path => ''/path/to/agent/local/gem/repo'', } ruby::gemInstall is a define, and it has some logic to get around
2011 Dec 06
8
explicit class dependencies
Do explicit class dependencies work? This simple example fails with: Could not find resource ''Class[Config]'' for relationship on ''Class[Uses_config]'' class config { } class uses_config { Class[''config''] -> Class[''uses_config''] } include uses_config Am I doing something? Thanks, Christian -- You received this
2011 Nov 16
11
What is the offical variable scope best practice?
I read the guide at http://docs.puppetlabs.com/guides/scope_and_puppet.htmland others'' mail, i am a little confused now, below is my understanding: 1. top scope only refers to site.pp, not include node definitions and facts. 2. in puppet class, using variables not local, must specify the namespace, like $class::variable, if it''s a top scope variable or a fact variable or a