similar to: Explain Manifests and Modules

Displaying 20 results from an estimated 11000 matches similar to: "Explain Manifests and Modules"

2013 Jan 30
3
Puppet Modules from Forge
Hello all, I have some questions about the download puppet modules from puppetforge: I''ll take puppetlabs-dism as an example, once its installed its located: /etc/puppetlabs/puppet/modules/dism Can this be renamed to something else ? Also if for example, I had a folder tree under modules e.g. /etc/puppetlabs/puppet/modules/windows | |- manifests |--base.pp |--networking.pp Can I
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
2012 Jan 10
3
Exec depends on ressources that are several different types
Hi dear puppet users. I have an perl file that depends on a lib, that I want to execute. I have stripped the parts of config that weren''t relevant here such as owner, group and so on In perl script : use Config::Tiny. Script is stored on puppet master. Manifest : ____ file { "/path/to/file.pl": source => "puppet:///file.pl, mode => "0755" } package {
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 Jan 09
1
Manifest organization
Hello I am new to Puppet and am having a hard time relating modules and classes in configuration files to actual operating system files. For instance I saw the following example on this list: node ''somenode'' { include puppetmaster } class puppetmaster { include common include puppet include ldap_auth include iptables::disabled include httpd::ssl include
2012 Oct 12
6
PuppetDB Install error: "::postgresql::validate_db_connection" at /etc/puppet/modules/puppetdb/manifests/server/validate_db.pp:62
Hi Everyone; I am getting the following error when I try to install PuppetDB. Maybe I have stale instructions?? Thanks! Bee Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid tag "::postgresql::validate_db_connection" at /etc/puppet/modules/puppetdb/manifests/server/validate_db.pp:62 -- You received this message because you are subscribed to the
2011 Dec 06
1
module can't find other modules
I have these three modules with the following structure: |-- modules | |-- create_resources | | |-- LICENSE | | |-- Modulefile | | |-- README | | |-- lib | | | `-- puppet | | | `-- parser | | | `-- functions | | | `-- create_resources.rb | | |-- spec | | | |-- spec.opts | | | |-- spec_helper.rb | | | `-- unit
2012 Sep 28
2
nested modules and autoloading
All- I''m using puppet 2.7.14. I''ve reviewed http://docs.puppetlabs.com/puppet/2.7/reference/modules_fundamentals.html but it doesn''t seem to cover what I''m attempting. Consider a module layout like this: $ tree mymodule mymodule |-- Modulefile |-- README |-- manifests | |-- init.pp | |-- special_type | | `-- prereqs.pp | `-- special_type.pp
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
2013 Jun 10
1
cannot using LDAP nodes with site.pp together?
*FROM:* http://projects.puppetlabs.com/projects/puppet/wiki/LDAP_Nodes """* NOTE: You can use node entries in your manifests together with LDAP nodes. External or LDAP nodes will be used before node entries. You cannot however use LDAP nodes and external nodes together. You must use one of these two types.* """ But, in *PRO PUPPET* page 127: """ *Note
2012 Nov 20
1
Windows Manifest Newline Syntax and Append to file Questions
Hello all, I''m fairly new to puppet and in the majority a windows shop I have two questions 1.) As windows syntax is slight different than linux syntax, how do I create a new line within a bit of content, e.g. hosts file "for windows not linux" e.g. file {''c:/Windows/System32/drivers/etc/hosts'': content =>
2011 Sep 12
1
Could not match
I am getting a error and do not understand why it is failing. There output is below puppet apply /etc/puppetlabs/puppet/modules/authconfig/tests/init.pp - vvvvvv --noop --debug info: Loading facts in iptables info: Loading facts in serve info: Loading facts in serve info: Loading facts in iptables debug: Executing ''cd /etc/puppetlabs/puppet && git rev-parse HEAD'' debug:
2011 Aug 11
6
need urgent help with including Ruby DSL class from puppet manifests
Hi, I have a Ruby class in "nagios" module - it''s located in nagios/ manifests/ssa_nagios_checks.rb and looks like this hostclass :ssa_nagios_checks do ... end In nagios/manifests/init.pp I have class nagios::server { ... include ssa_nagios_checks ... } And I get the following error .... debug: importing ''/etc/puppet/modules/nagios/manifests/
2012 Dec 18
4
site.pp referring to other manifests without modules
Hi all, I want to do some code reuse, and modules seem overkill. Is it possible to have something like this? A file called myuser.pp class myuser { user {...} file {...} ... } Then in site.pp have this: node ''foo.example.com'' { include myuser .. other things .. } node ''bar.example.com'' { include myuser .. other things .. } When I try 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
2013 Apr 09
3
testing static manifests
I would like to know how do people test a manifest that is basically static without any parameter. By testing it, I mean not only check the syntax or any invalid directive, but if the configuration there written is implementing the expected behaviour when used. Of course, one way is just point a machine to my puppet master and see that it has the right configuration. But wouldn''t
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
2013 Jan 24
4
Dependency Cycle with puppetlabs-mrepo
Hi, I''m gettinng a dependency cycle when using PE 2.7, puppetlabs::mrepo, "role classes" and hiera : I''m trying to mirror RHN repos : # ROLE CLASS > class site::yum_repository{ > > $repos = hiera(''site::yum_repository::repos'') > create_resources(mrepo::repo::rhn, $repos) > } > # HIERA DEFAULTS >
2013 Feb 25
5
Puppet execution hangs for long periods of time
Hi, I wrote a little "hello world" script and I am a little concerned by execution that hangs for long periods of time. *computer:* Windows XP Professional Service Pack 3 Intel(R) Xeon(R) CPU W3550 @ 3.07GHz 3.07GHz, 3.50 GB of RAM *init.pp:* class hello { notice(''Hello world!'') } *command line:* puppet apply --debug -e ''include hello''
2013 Jan 18
3
node_openstack dependency
Hi, I am trying to install node_openstack module for puppet. But I see its dependency on puppetlabs-cloud_provisioner<https://forge.puppetlabs.com/puppetlabs-cloud_provisioner> (>= 1.0.2) Is this version available, if not is there any work around? regards, Haynes Davis ________________________________ This message is for the designated recipient only and may contain privileged,