similar to: Run Puppet Against Master with Local node.pp Manifest?

Displaying 20 results from an estimated 40000 matches similar to: "Run Puppet Against Master with Local node.pp Manifest?"

2013 Jun 20
3
Apply a specific manifest on agent
Hi All, I am new to Puppet and I am wondering if there is a way to just apply a manifest one-time (present on the master, not included in site.pp) on an agent node without having to edit site.pp? It''s like I want to run a command on the agent that will do this for me. Something analogous to "puppet apply <manifest>" except that the manifest is not locally present on
2013 Sep 04
3
Puppet Dashboard Error 400 Invalid Parameter at passenger pp:48
Hi, I am new to the job and forum. I installed puppet and puppetmaster and set up my first dependencies acording to a manual that we have here in our company. Everything works fine and I can set up new nodes with several modules to choose from. Unfortunatley the Dashboard <http://forge.puppetlabs.com/puppetlabs/dashboard>gives me errors instead of starting correctley. Here the
2012 Apr 25
2
Unable to import a manifest file from a different directory to the one where site.pp is located using environments
Hi List, Puppet Version: v2.7.13 Question - If I correctly setup multiple manifestdir''s in the puppet.conf file how can I import a node pp file located in a different directory tree to site.pp? My configuration information is below. In my puppet.conf file I have setup an environment called "stable", within this environment I have setup the manifestdir, modulepath and
2013 Feb 22
6
Finding a manifest full file name (with path) in a function?
I''m trying to create a function that I can call in a manifest like this: $doc = doc(''apache::service'') In the function, I want it to actually find the filename for the ''apache::service'' class... from there, I''m going to run some code that will generate the puppet-doc in text format, and then return it in a variable. Ultimately this is so
2013 Nov 18
4
Puppet Masterless on Windows
Hi all, I have been working on a configuration of a Masterless configuration on Windows. I am able to get individual jobs to run like: puppet apply <path to my puppet .pp file> However, I would like to spin up the Vagrant box off a base VM, and have a puppet manifest file in a location where puppet knows to look and provision based off that file. The obvious place seems to be
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
2013 Oct 30
4
Warning: Local environment: "42A" doesn't match server specified node environment "production", switching agent to "production"
Hi, When I run puppet agent --test --environment 42A, I have the following warning : Warning: Local environment: "42A" doesn''t match server specified node environment "production", switching agent to "production". ... The puppet manifest for the environment "42A" isn''t applied. The puppet version is 3.3.1-1puppetlabs1 on agent and
2013 Apr 08
4
puppet uninstall package
Hy I m a new user in world puppet I have installed a packge test on a node "screen" without problem Now i want to try to uninstall it but without success. This is the file configuration this is my file init.pp package {"screen-4.0.3-16.el6": ensure=> "absent" } #package and purge its config files package {"screen-4.0.3-16.el6": ensure =>
2013 Aug 21
1
Trouble with ENC and static.pp : enabling ENC fails to find node even with default node in site.pp
I''m having some trouble with getting an ENC to work alongside site.pp: Even with a ''default'' node definition, and an ENC that only returns 0, regardless of input, consistently results in a ''cannot find node'' error. I''m wondering what I''ve missed here. I''ve tried to reduce everything to a ''base case'': and
2013 Nov 20
2
How come that module is not executed in Windows?
I have the following in vagrantfile in WIndows system. config.vm.provision :puppet do |puppet| puppet.manifests_path = "manifests" puppet.manifest_file = "base-hadoop.pp" puppet.module_path = "modules" end when i run vagrant provision, i do see manifest and module folders are mounted and ssh into vm, I can find files in the following path
2012 Jul 02
3
is site.pp a must to have‏
Hi, is site.pp a file must to have? I have set up a puppet server, but my following manifest just cannot apply to my client, the server itself. # cat haitest.pp file { ''/etc/motd'' : source => "puppet:///files/motd" ,} Thanks. Hai T. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this
2013 Jun 12
3
puppet agent errors for non included module.
Does anyone know why i would get a module error for my ''base'' module that I''m not even including for a node? I''m explicitly NOT include the ''base'', yet puppet-client-t2 still errors when i pull it in. Snips from both are below. Any ideas why this would happen? Thanks, JJ ==== site.pp file [root@puppet-master-t1 puppet]# cat
2013 Nov 14
5
Nested parametrized defines
Dear puppet wizards, http://docs.puppetlabs.com/puppet/3/reference/lang_defined_types.html does not suggest to me that nested parametrized defines would be forbidden, hence I expected the following code to work: add_to_ssh_authorized_keys.pp: -------- define a::ssh_keys::add_to_ssh_authorized_keys($homebasedir="/home", $targetuser="root", $keyowner, $keyownername,
2013 Jun 12
4
Can't find source of "Removing mount" errors
I''m maintaining part of a rather large puppet config and at a loss to figure out where the following errors are coming from during a puppet update: err: Removing mount all: /var/lib/puppet/files/all does not exist or is not a directory err: Removing mount pixel: /var/lib/puppet/files/pixel does not exist or is not a directory err: Removing mount compute: /var/lib/puppet/files/compute
2013 May 07
2
Modules doesn't work from puppet agent.
Hi all, I think i''m forgetting something. If i do: "puppet apply manifiests/site.pp" it works perfectly, loading modules i have include in site.pp file. site.pp: cat manifiests/site.pp node default { include ntp, motd } But it does not work if i run puppet agent. puppet agent --test --server=debianita.user.arinso --environment production Info: Retrieving plugin Info:
2013 Mar 26
5
Running ENC alongside site.pp (node defn)
Hello, Is it possible to configure an ENC to provide class definition to a number of nodes at the same time where a few other nodes are controlled in the site.pp by node ''FQDN'' {blah} for the same puppetmaster ? I am wondering once parameters are set for the master to look for an ENC based definitions, will it conflict with the site.pp node definitions ? For example these
2013 Sep 11
6
Puppet ignores hiera completely
I''m not sure at all what''s going on here, but I''ve spent a lot of time reading over the puppet hiera docs and setting everything up, but when I run puppet agent it just seems to ignore the hiera setup completely. Both the puppet master and agent nodes have exactly the same versions of puppet and hiera (installed via the official puppet APT repository). I''ve
2013 Jul 29
2
a different ssh::auth problem
Hi, I am very new to puppet. I installed puppet 3.2.3 (open source) on Debian Wheezy. Everything seems to work fine. Now I want to setup ssh::auth on the puppet master. The documentation states that: "To install ssh::auth, place the file auth.pp<http://projects.reductivelabs.com/attachments/935/auth.pp> (attached to this page) into the ssh/manifests directory in your module path:
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 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