Hi There,
I am kind of lost, understood something wrong. I have written a module.
Now how can I test this module? Do I need to copy it to agent or server? Is
it possible to test it as a standalone module where I have a machine with
puppet agent or server installed? It is a simple module I
Hi
I'm new to puppet I've install the master and one node with no issues. the
installs are all on Suse Linux server and workstation.
When I installed another node today I got the message in the in the console
of (node request 1) and clicked accept to this and it all looked ok and a
Have you seen such a problems or is just an assumption? I've worked on a
few puppet implementations and changing puppet master manifests on the go
has never been an issue.
I might be misunderstanding your question, can you develop more around your
deployment process?
On Tuesday, November 19,
Hi Karl,
here following are apache conf that work, afaik (any comment is welcomed):
- puppetserver: direct and indirect access
- proxy server
You can have direct and proxied clients:
clients
|
tcp/8140
|
Puppet Server
|
tcp/8141
---firewall
|
RP
|
tcp/8140
Very cool, thank you so much! I'll be reviewing this and will give it a try
as soon as I can.
Karl
On Wednesday, November 20, 2013 6:41:17 AM UTC-5, pdpinfo wrote:
Hi Karl,
here following are apache conf that work, afaik (any comment is welcomed):
- puppetserver: direct and indirect access
Hi Raj,
when running puppet apply on your module init.pp you will only compile the
module but you will not instantiate the module.
(google for definition vs. declaration)
You need to create another init.pp file (normally you put them into
yourmodule/tests/init.pp).
In this file you declare the
Hi Raj,
when running puppet apply on your module init.pp you will only compile the
module but you will not instantiate the module.
(google for definition vs. declaration)
You need to create another init.pp file (normally you put them into
yourmodule/tests/init.pp).
In this file you declare the
Hi All,
I'm facing the following error on an Ubuntu 12.04 install with Puppet 3.3.2
Error: Could not retrieve local facts: undefined method `enum_lsdev' for
Facter::Util::Processor:Module
Facter is the latest version installed using gem.
I have seen this was a bug, is it still or again ?
I'll wager that Michael is correct here (based on what he says, not just
his knowledge of packaging).
Can you provide the actual, full names of the package in question, or
the rpm -qi output?
My guess, based on having the same problem, is that if
ensure = '5.35.0-3_el5'
is failing, then you'll
I've got to agree with JuanBrein, I've been using puppet since 0.24.5
and I don't remember ever seeing a problem like this. How are you
deploying your modules?
Even if you have a time consuming deploy process (i.e. not just a git
fetch and pull), and inconsistent state on disk is a valid concern,
Matt,
I can't speak for exactly what John was implying, but I've been working
on something similar recently, and facing more or less the same problems
that you're implying below, so I'll give you my take on it.
1) Yes, it means factoring all possibly-shared resources out into
discrete classes.
Hi,
I have created a puppet module that performs below steps:
1. stop application service
2. take backup of existing application
3. download application artifact
4. install the application
5. some configuration stuff
6. start the application service
Since the agent will poll the master every
Hi,
I need to parse the a template, with different values, to generate
different config files in each country I need to config.
The template is used inside a define, this define is used one time for each
country.
I need that each time y execute this define, the vars used by the template
have
You can create some sort of a trigger file. Like this:
file { /some/folder/file_trigger
ensure = present,
content = version01,
…
}
Add refreshonly = true to your resources. Then subscribe your resources to
this file. Once the file is changed, your code will be executed.
--
Best
Hi,
you can use a hash, either from hiera or in your manifest.
$config = {
country1 = { option1 = value1, option2 = ... },
country2 = { option1 = ... }
...
}
In the template, you can access it like this e.g.
% data = config[country] -%
...
ListenAddress=%= data[option3] %
...
Careful,
On Wednesday, November 20, 2013 6:22:35 AM UTC-6, Jason Antman wrote:
I'll wager that Michael is correct here (based on what he says, not just
his knowledge of packaging).
Can you provide the actual, full names of the package in question, or
the rpm -qi output?
My guess, based on
On Wednesday, November 20, 2013 12:06:35 AM UTC-6, Rich Burroughs wrote:
You can use hiera gpg for ssh keys too.
See this example:
https://groups.google.com/d/msg/puppet-users/jHcuKQXT9cQ/g23Lmf4e6b8J
But you would be unwise to do that in conjunction with Puppet 3, unless you
fall
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
Hello,
I have cloned the cloudstack_resources git repo into my puppet modules
directory.
I have a working cloudstack management server up and going.
here is my modules/infra/manifests/init.pp file
class infra {
cloudstack_instance { 'foo':
ensure=present,
On Wed, Nov 20, 2013 at 11:01 AM, Roger Yu rogery...@gmail.com wrote:
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
[default] -- /tmp/vagrant-puppet/manifests
[default] -- /tmp/vagrant-puppet/modules-0
I tried that, but in that way I cant override internal vars of the hash
(option1) in different files of the hiera hierarchy,
because I need to ask to hiera for the entire hash.
El miércoles, 20 de noviembre de 2013 13:16:50 UTC-3, Felix.Frank escribió:
Hi,
you can use a hash, either from
With the changes for http://projects.puppetlabs.com/issues/18931 (Don't set
mode on Windows if not specified)
http://projects.puppetlabs.com/issues/5240 (Default ownership for files
when uid/gid are unspecified), we've created the ability to specify whether
to use source permissions, use when
Well apparently my transport.yaml file was not formatted correcly. I had
everything starting at column zero, and when I added a tab to make the
spacing for the lines under cloudstack: be indented, it worked.
:shrug:
On Wednesday, November 20, 2013 12:22:11 PM UTC-5, Derek Cole wrote:
Hello,
When I change it to an array it injects a comma into the range and DHCP
pukes.
On Thursday, January 24, 2013 3:20:46 AM UTC-8, Peter wrote:
Not sure if it is the reason but making the change seems to fix it. Just
incase anyone else comes across this in the future.
The init.pp file calling
Nevermind. I think the problem was that I was splitting it up into two
members of an array with a comma as opposed to just keeping it one long
string. So yeah, this fix worked.
Thanks,
Alex
On Wednesday, November 20, 2013 12:24:03 PM UTC-8, Alex Scoble wrote:
When I change it to an array it
Yes, that's a limitation you get from relying on hashes in your
hierarchy. Tough call.
Of course, you *could* override the entire hash where necessary. Or, you
could cut out the top level of the hash and make each hash key a hiera
key instead:
countrydata_us:
option1:
option2:
...
On Tue, Jul 16, 2013 at 2:09 AM, Jakov Sosic jso...@srce.hr wrote:
On 07/16/2013 02:56 AM, Nan Liu wrote:
If that's not the issue, then I'm not sure. I'll try to put together
the transport module when I get some spare time.
Reference is not a problem, but fetching parameters from that
Yes, if you look at the directory structure above
I have base-hadoop.pp under manifests folder
and init.pp under modules\hadoop\manifests folder. and init.pp content is
listed below
class hadoop {
$hadoop_home = /opt/hadoop
exec { download_hadoop:
command = wget -O /tmp/hadoop.tar.gz
yes i installed vagrant windows version and use vagrant provision command
to trigger puppet provisioner
and as I mentioned above, manifest file base-hadoop.pp works fine, just
init.pp under modules folder was not called
Rob Reynolds於 2013年11月19日星期二UTC-8上午9時08分24秒寫道:
For vagrant, are you
29 matches
Mail list logo