Displaying 20 results from an estimated 30000 matches similar to: "IPTables Firewall modules Question"
2007 Mar 11
5
Modules Search and Puppet
Hi,
I''m not using puppet in a standard way (ie. in a server/client
configuration), just the standalone ''puppet --use-nodes'' command.
I''m having problems with the directory structure of modules and using the
import feature.
My directory infrastructure looks like this:
/srv/puppet/facter/...
/srv/puppet/manifests/site.pp
/srv/puppet/manifests/libs/file.pp
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
2008 Jun 04
1
I am doing something wrong....
OK... I have relaid out my puppet dir as recommended in best
practices:
[jleggett@binford puppet]$ find . -print | grep -v .svn
.
./plugins
./plugins/lines.pp
./files
./files/module
./files/module/SSH
./files/module/SSH/ssh_config
./files/module/SSH/sshd_config
./files/module/INFO
./files/module/INFO/motd
./files/module/INFO/issue
./files/module/NIS
./files/module/NIS/nsswitch.conf
2006 Nov 02
7
Error reloading manifests
Hi there,
I''m running puppetmasterd manually while testing, and I was trying to split
my manifest in several parts using import. If I do so whenever I run the
puppetmasterd the manifest gets loaded and served correctly:
cognos ~ # puppetmasterd -v
info: Starting server for Puppet version 0.20.0
info: Parsed manifest in 0.02 seconds
info: /var/lib/puppet/files: allowing *.example.org
2013 Mar 11
3
Restructure puppet modules
So far we have a similar situation, for each different server one fabric
and one puppet file, where the fabric file simply applies it in a brutal
way.
with settings(user=''root''):
put(''qa.pp'', ''qa.pp'')
put(''puppet apply qa.pp'')
And puppet files don''t use anything like classes or modules, but
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:
2007 Nov 18
5
modules yet again
I know this comes up periodically, and I''ve read through the
wiki (including the Best Practices page) & list archives,
but still can''t quite get my head around it.
I see lots of references to /modules and $MODULE_PATH, but
am not sure what these refer to.
Here''s a basic setup I have. Let me know if this looks correct:
/etc/puppet/
|-- autosign.conf
|--
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
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
2013 Jul 29
2
puppet apply --hiera_config --> Error: Could not find class
Hi there,
I''m running into an problem which I can resolve. It is bugging me for
couple of days now.
Goal: CentOS 6.4 freshly installed incl puppet 3.2.3 and I want to install
puppet master, puppetdb, mod_passenger & apache with "puppet apply". So
when this is complete, I should have an puppet master server running so I
can create new hosts etc.
So this is the command
2006 Dec 04
6
puppet definition
Hello,
still upgrading to .20.1 and i have another issue that puppet does
not regonize anymore my definitions, i use some ensure lines definition
in a function.pp file and since then i am unable to make it work.
puppetmasterd tells me this:
Unknown function sudoensure_line in file
/etc/puppet/manifests/./classes/backup.pp
the import of the function is my 2 line of the site.pp and i
2012 Aug 13
2
Variables and scope with inherits
I want to have a parametrized class with lookup from params.pp but I keep
getting into problems.
init.pp:
class foo (
$bar = $foo::params::bar,
$foofoo = $foo::params::foofoo
) inherits foo::params {
file {''/tmp/foobar'':
content => template("foo/foobar.erb"),
}
}
params:
class foo::params {
$bar = true
if $foo::bar {
$foobar =
2012 Feb 12
1
Using templates
Hi everyone,
I''m learning Puppet and I want to configure ssh server with different
port on different nodes.
Puppet v2.7.1
I have created module ssh:
content of modules/ssh/manifests/install.pp
class ssh::install {
package { "ssh":
ensure => present,
}
}
content of modules/ssh/manifests/service.pp
class ssh::service {
service { "ssh":
ensure =>
2008 Nov 06
1
introduction with david's munin module question
Hi all,
I am new to puppet and also newcomer in this group.
I heart good things about puppet and I decided to give it a try 2 weeks now.
After reading various documentation, I began using the complete
configuration collection of puppet modules (thanks to David).
But I have a problem with the munin module. It works fine, except that it
seems to not export virtual ressources. Let me give more detail
2012 May 14
6
problem with importing node definitions (2.7.14) [SEC=UNCLASSIFIED]
Hi all,
Doing some work with a puppet 2.7.14 installation to see what''s new and needs to be changed, however i''m seeing unexpected behavior with my manifests, so my external node directory isn''t being imported. This is on a rhel 5 server with the puppet rpms from yum.puppetlabs.com, but the cilent machines is based on fc17 beta with 2.7.13 rpm (which is with that
2011 Oct 13
1
puppet apache module
I''m getting this and it isn''t applying my apache module. Is it because
of these warnings?
notice: Starting Puppet client version 2.7.5
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/
provider/service/freebsd.rb:8: warning: class variable access from
toplevel
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/
provider/service/freebsd.rb:9:
2013 Aug 02
2
Exporting Load Balancer Worker Resources
Hi,
Recently i''ve studying puppet by reading and doing the examples from this
book: "Pro puppet".
books.sysadmins.su/system/files/Pro.Puppet.pdf
On page 145 from this book there is example about Exporting Load Balancer
Worker Resources.
I created the files inside already existing apache module.
/etc/puppet/modules/apache/manifests/balancermember.pp
define
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/
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