search for: modulepath

Displaying 20 results from an estimated 292 matches for "modulepath".

2008 Jan 16
1
modulepath not working with environments
I''m testing the new environments feature in 0.24.1. http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments But I am having a problem getting it to recognise the modulepath setting within the environment. I''m wondering if this is a bug or if I am doing something wrong For this example, the environments are called "prod" and "test". On the puppetmaster puppet.conf has these entries related to environments: [main] environment =...
2009 Nov 12
6
Multiple environments
...ext 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 following section should be in my puppet.conf file: [main] manifest = /usr/share/puppet/site.pp modulepath = /usr/share/puppet/modules [development] manifest = /usr/share/puppet/development/site.pp modulepath = /usr/share/puppet/development/modules There are other references on web pages and groups to an "environments" setting under "puppetmasterd" as well as having a def...
2011 Dec 18
2
Modules in Environments
Question... for those that have multiple environments, dev, prod etc... do you share your modules directory, or does each environment have it''s own copy of the modules directory? Which one has worked better? Doug -- 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 15
8
Puppet Forge question
...o some testing, and all of our systems are behind a proxy. I''ve got the http_proxy environment variable set properly, but when I try to use puppet module install <foo> it doesn''t seem to honor it and can''t connect. I used wget to download it, but even when I use modulepath it still tries to connect to the forge and fails. I''ve tried: sudo puppet module install --modulepath . puppetlabs-stdlib-2.3.3.tar.gz sudo puppet module install --modulepath . puppetlabs/stdlib sudo puppet module install --modulepath . puppetlabs-stdlib I consistently get: Preparing...
2011 Oct 26
4
openldap missing modules
Hi List, I'm currently setting up an openldap server and included the following lines in my slapd.conf : modulepath /usr/lib/ldap moduleload back_hdb after finishing up my config and i run slaptest on it i get an error saying that the modulepath doesn't exist. I checked and it indeed isn't there , in fact i can find it anywhere on my system (centos 5.7). the packages i've installed through yum are op...
2012 Mar 08
1
Puppet / Facter plugin issue
If I externalise my Puppet module config to a directory outside of Puppet using the modulepath / manifestdir settings: [main] pluginsync=true modulepath=/home/ec2-user/projects/qmg-puppet/etc/puppet/modules manifestdir=/home/ec2-user/projects/qmg-puppet/etc/puppet/ manifests the agents log the following error: "Could not evaluate: Could not retrieve information from sourc...
2009 Dec 30
4
yet another class dependency question.
...here''s what my module organization looks like. # egrep -i ''^\[|module|environment'' /etc/puppet/puppet.conf [main] environments = production,staging,development,testing environment = production [puppetd] environment = production [puppetmasterd] # environments [production] modulepath = $confdir/modules/production [staging] modulepath = $confdir/modules/staging:$confdir/modules/production [development] modulepath = $confdir/modules/development [testing] modulepath = $confdir/modules/testing:$confdir/modules/production # ls -1d /etc/puppet/modules/production/puppet /etc/puppet/...
2013 Apr 11
2
Generate YARD docs for modulepath
Hi, Puppet 3.1 now uses YARD to generate its API documentation. Is anybody aware of the possibility to generate nice YARD docs for a given module path, replacing the default RDOC-style site from "puppet doc --modulepath ..."? Could the YARD Template from Puppet 3.1 be used for this? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegrou...
2013 Mar 04
7
I moved my modules and manifest directory in puppet master.
...ath for modules, as a list of directories separated by the system path separator character. (Th e POSIX path separator is '':'', and the Windows path separator is '';''.) # The default value is ''$confdir/modules:/usr/share/puppet/modules''. # modulepath = /etc/puppet/modules:/usr/share/puppet/modules modulepath = /etc/puppet2/modules:/usr/share/puppet/modules -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send...
2010 Nov 11
12
When do modules get auto-imported
My understanding was that at the beginning of each run the puppetmaster imports all modules so that any includes at the top level are applied directly. However, I am not so sure anymore. I''ve been tracing how this works and it seems like modules are included more lazily. In other words, when able_to_import is called seems like when the magic happens, rather than up front when the run
2011 Apr 07
1
Setting puppetmaster modulepath from inside manifests
...es, each with its respective version. The approaches to choose from I''m aware of are: [approach A] ALL versions of a module are simultaneously available to all servers via one big ubercatalog. SVN trunk, as well as SVN tag directories (containing historic versions of modules) are added to modulepath on the puppetmaster via puppet.conf The node file then says: include base-1.2.3 Problems with this approach: 1. We can''t have two versions of "base". We need to call them differently. Thus, when a new SVN ''tag'' is made, it needs to be branched out, and all ref...
2012 Jun 05
7
Not using expired node for targethost from cache; expired
...thost I have 4 nodes that are effectively the same and 3 of the 4 work as expected. Someone trying to help has said: "The only thing i can derive from that is there is no ''modules/pe_accounts/manifests/init.pp'' in any of the path elements in `puppet master --configprint modulepath` on your server, for the environment that client is" It was my understanding from reading that the pe_accounts was a part of the core classes that comes with puppet. The version of puppet I am working with is PE 2.5.1 on Solaris 10 non-global zones. -- You received this message because...
2013 Jun 27
5
Is it possible to pass extra flags to Puppet via rspec?`
Hello, I''m writing my first puppet function rspec test and am having a problem which I don''t see how to solve. The function (and the test) involve access to files through the File Server. In order for the function (and the test) to work I need to pass "--fileserverconf=fileserver.conf" parameter to Puppet. So far I haven''t found a way to do that. If I
2009 Jul 27
1
[PATCH] mboot using module path
...le resb FILENAME_MAX ; Boot file from DHCP packet DotQuadBuf resb 16 ; Buffer for dotted-quad IP address IPOption resb 80 ; ip= option buffer InitStack resd 1 ; Pointer to reset stack (SS:SP) ---end --- from: Damien Nozay [PATCH 03/04] add -p modulepath option to mboot.c when using pxelinux, complex paths can be used in conjunction with the prefix we get from tftp (e.g. /tftpboot/linux-install/). without a path option, the modules need to use paths relative to the prefix, this can be inconvenient and clutter the command line. with this change it...
2013 Oct 30
4
Warning: Local environment: "42A" doesn't match server specified node environment "production", switching agent to "production"
...e* ----------------------------------------------------------- puppet.conf on the puppetmaster node : *[main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter templatedir=$confdir/templates pluginsync = true [production] modulepath = /etc/puppet/environments/modules/production manifest = /etc/puppet/environments/manifests/production/site.pp [42A] modulepath = /etc/puppet/environments/modules/install/42A manifest = /etc/puppet/environments/manifests/install/site.pp [agent] server = puppet report = true [master] ssl_client_h...
2011 Aug 09
8
ANNOUNCE: Puppet Module Tool version 0.3.4
Hi all We''ve just released version 0.3.4 of the puppet-module tool used to create and retrieve modules from the Puppet Labs Forge (http://forge.puppetlabs.com). You can update using Ruby gems: $ gem install puppet-module There are several important changes in this release: * Add ability to install modules with hyphens * Add check for symlink when installing * Install modules to their
2010 Nov 11
9
preferred directory structure for multiple environments
Hello All, Moving from 2.5 to 2.6.2 and I was wondering if there is a preferred directory structure for using multiple environments? Does it work much different in 2.6 than in 2.5? When I made the move I assumed (I know) that my current structure and configurations would just roll over but that isn''t the case. Thanks, Jim -- You received this message because you are subscribed to the
2010 Mar 30
3
Environment settings not functional
Hi, I''ve got some problems with setting up environments. On the master: [main] [...] manifestdir = /etc/puppet/manifests modulepath = /etc/puppet/modules [...] environments = production,staging [production] manifestdir = /etc/puppet/manifests modulepath = /etc/puppet/modules [staging] manifestdir = /opt/puppet-staging/manifests modulepath = /opt/puppet-staging/modules [puppetmasterd] ssl_client_header = SSL_CLIENT_S_DN ssl_cl...
2013 Dec 06
13
Can't seem to get modulepath attribute recognized by puppetmasterd
Warning - Puppet newby here. I am trying to set up a puppetmaster 3.3.2 and have run into a snag right out of the box. I want to add a new directory to modulepath= in /etc/puppet/puppet.conf So I added the following line in the [main] header modulepath = /etc/puppet/modules:/opt/our-repo/puppetmaster/modules And populated new new directory with modules I have written. I then run puppet master --configprint modulepath and I in fact see /etc/puppet/mod...
2013 Mar 15
0
Installing module of the correct version
I want to install a module into the modulepath. I can provide either a http url to a tar that contains the modules (like puppetforge but the path is not as structured) or I could provide a git url and path under that url where the module is. I want to first run puppet standalone on the vagrant vm host. This should download the appropriat...