similar to: pp grammar test-files?

Displaying 20 results from an estimated 20000 matches similar to: "pp grammar test-files?"

2011 Dec 19
7
When the lint accumulates...
So some of you may be aware that Tim Sharpe from GitHub wrote a Puppet linting tool: $ gem install puppet-lint $ puppet-lint mymanifest.pp Source: https://github.com/rodjek/puppet-lint The linting tool checks Puppet code for "best practice" based on the Puppet Labs Style Guide: http://docs.puppetlabs.com/guides/style_guide.html A lot of us have been using puppet-lint (and puppet
2012 Jul 09
3
puppet 3.0.0 and hiera
Hi, If I have understood it correctly, puppet 3.0.0 will include / require hiera. In order to add support for hiera directly in Geppetto I downloaded the puppet 3.0.0rc tarball expecting to find the puppet-hiera functions, but they where not there. What is the expected packaging going to be when 3.0.0 is released? Where should I expect the hiera "parser functions" to be located?
2011 Aug 24
2
handy tip against unhelpful "Could not intern from pson" error
Not sure if people are already aware of this, but it might save someone some time in the future. I''ve been tracking down the following error today, it''s rather unhelpful in telling you where the problem is in your manifests: # puppetd --test info: Retrieving plugin err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could
2011 Jun 20
3
Geppetto is ready
Geppetto 1.0 is released and ready for download. We want all the feedback we can get, so try it out and let us know what you think! Full story at: http://cloudsmith.github.com/geppetto/ If you haven’t been following the project, Geppetto is an integrated toolset for working with Puppet modules and manifests. It’s built on the Eclipse platform. If you’re an Eclipse user, you can install it
2011 Sep 19
1
Announcement: Geppetto 2.0.0 released
The 2.0.0 release of Geppetto is available as download and updates from within Geppetto for all users of 1.0.x. Please see the FAQ at: http://cloudsmith.github.com/geppetto/faq.html for information if you run into problems updating. Checkout http://cloudsmith.github.com/geppetto/faq.html#2011/06/28/how-do-i-update if you need instructions how to run update. In this release =============== *
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 Dec 26
6
variables created with generate() function have a newline when used in a template
I have this in nodes.pp $puppetmaster_fqdn = generate("/usr/bin/facter","fqdn") and this in a template http://<%= puppetmaster_fqdn %>:8080 When puppet runs, this is the result: http://puppet.home :8080 Anybody any clue to whats causing this? I''ve tried -%> -- You received this message because you are subscribed to the Google Groups "Puppet
2012 Jul 26
2
Please send me your puppet formatting puzzles...
Hi, I have been working on a new puppet code formatter for Geppetto for some time, and it is now starting to work quite well. The plan is to release it in Geppetto 3.0. If you want to, you can help by sending "formatting puzzles" - i.e. "given input x, produce formatted result y". I am esp. looking for code where it is impossible to follow "the style guide" -
2010 Nov 11
7
Problem with modules
Hello. I use puppet 2.6.3-rc2 Now I try move my classes to modules. But I got a problem that Puppet does not sees modules. in puppet.conf: [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl libdir = /opt/puppet-dashboard/lib/puppet modulepath=$confdir/modules In nodes : node postgres { include basesystem include postgres } In
2013 Sep 16
10
Unable to specify hierarchy for data-in-modules
Hello, I''m running Puppet agent stand-alone on Windows. I got data-in-modules working. However, no matter what I put into the module hiera.yaml, I can only override the defaults from common.yaml by osfamily (and not, e.g., by environment). In the setup below the following command outputs: >puppet apply --binder -e "notice lookup (''my_key'')"
2011 Jan 07
7
My external node classifier script is totally ignored
Hi, I just added an external classifier script, and things are not working as I expected to. Trying to read documentation about ext.nodes and searching the archives I couldn''t come up with any useful results. My classifier script outputs: --- YAML --- classes: - geodns::production::backend environment: production name: z01-06-02 parameters: puppet_server:
2010 Dec 09
10
Invalid parameter when assigning parameterized class to a node
Hello, I searched through the archive of the google group but did not found any solution or hint for my problem. I want to assign the following parameterized class to a node. class httpd($certMail, $certOU) { ... } This is the node statement to assign the class to a node. node "someserver" inherits basenode { class { httpd: certEMail =>
2010 Dec 15
3
having trouble with puppet 0.25.5 on openbsd 4.8 on amd64
My manifest includes this snippet class app_client_openbsd { $app_client_pkgs_obsd = [ ''glib2-2.24.1p2'', ''gtar-1.23p1'' ] package { "${app_client_pkgs_obsd}": ensure => ''installed'', source => "http://${installserver}/openbsd/${operatingsystemrelease}/packages/${hardwaremodel}/${name}.tgz", } This
2011 Jul 13
2
nodes.pp in different environments
Hi guys I have a small question, I have 3 environments in puppet.conf file: [development] modulepath=/etc/puppet/development/modules manifests=/etc/puppet/development/manifests/site.pp I have defined the site.pp path, my question is do I need to make a nodes.pp for every environment?????? Thanks -- You received this message because you are subscribed to the Google Groups "Puppet
2012 Feb 17
8
Puppet syntax check for Komodo Edit
Hi folks, Recently I''ve been using a MacBook Pro (Lion) as a workstation, I''m feeling good even if still missing some tool (coming from Ubuntu environment). I''d like to have a cross platform IDE with basic Puppet syntax highlight, so far the one that seems to better fit my needs is Komodo Edit v7, that is mentioned here:
2011 Feb 11
3
Active Directory join, stages, and AD accounts issues
I have a mostly working set of modules to replace our kickstart and about a dozen scripts. I am having issues with attempting to populate my AD account-owned user folders in the initial puppet run. The machines i am testing with are all CentOS 5.5 so far. I have defined 3 additional stages, Stage [init] -> Stage [pre] -> Stage [main] -> Stage [post] to attempt to fix this to no avail.
2011 Mar 23
1
way of importing .pp file or some string that contain class definition in ruby dsl
I''m finding the way to import a file or a class stored in string in ruby manifest. I have tried following code to parse the class having packages and services. pp = Puppet::Parser::Parser.new("development") pp.string = "class webhttpd{package { ''httpd'': ensure => installed, } service { ''httpd'': ensure => running, enable =>
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
2012 Dec 19
3
Template in site.pp
Can I use a template in site.pp? I have a templates directory in my /etc/puppet directory which has my template, but i get this error message: Wed Dec 19 09:19:23 -0800 2012 Puppet (err): Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find template ''server.xml.erb'' at /etc/puppet/manifests/tcuser.pp:52 on node
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,