This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html><html> | |
<head> | |
<title><%= title %></title> | |
<%= base_tag %> | |
%= content_for 'jsheader' | |
</head> | |
<body> | |
<ul> | |
<li><%= link_to index => begin %><%=l 'Index' %><% end %></li> | |
<li><%= link_to login => begin %><%=l 'Login' %><% end %></li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:hierarchy: | |
- Nodes/%{fqdn} | |
- Domain/%{domain} | |
- %{environment} | |
- common | |
:backends: | |
- yaml | |
- puppet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
environments: | |
- production: | |
environment: production | |
modulepath: /etc/puppet/modules:/etc/puppet-modules | |
manifest: $manifestdir/site.pp | |
- testing: | |
environment: testing | |
modulepath: /etc/puppet/modules:/etc/puppet-environment/testing | |
manifest: $manifestdir/site.pp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rakefile | |
require 'rubygems' | |
desc "Run puppet-lint." | |
task :lint do |t, args| | |
begin | |
require 'puppet-lint' | |
rescue LoadError | |
fail "Cannot load puppet-lint, please install gem : # gem install puppet-lint" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant::Config.run do |config| | |
config.ssh.max_tries = 50 | |
config.ssh.timeout = 300 | |
# Master | |
config.vm.define :pm1 do |pm1_config| | |
pm1_config.vm.box = "CentOS-6.2-x86_64-minimal" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tomcat_instances: | |
- default: | |
server_port: 8005 | |
http_connector_port: 8080 | |
ajp_connector_port: 8009 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hiera-1.0.0-0.1rc3.el6.noarch | |
hiera-puppet-1.0.0-0.1rc1.el6.noarch | |
puppet-server-3.0.0-0.1rc3.el6.noarch | |
puppet-3.0.0-0.1rc3.el6.noarch | |
[root@pm3 ~]# puppet agent -t --server pm3 | |
Info: Retrieving plugin | |
Info: Loading facts in /etc/puppet-modules/puppet/lib/facter/facter_dot_d.rb | |
Info: Loading facts in /etc/puppet-modules/puppet/lib/facter/puppet_vardir.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class clsloader { | |
$klasses = hiera_array( 'classes', [] ) | |
class { $klasses: } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/create_resources.rb:1: warning: multiple values for a block parameter (2 for 1) | |
from /etc/puppet-modules/custom/lib/puppet/parser/functions/hiera_resources.rb:38 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
tomcat_instances: | |
rest_service_1: | |
server_port: 8005 | |
http_connector_port: 8080 | |
https_connector_port: 8443 | |
ajp_connector_port: 8009 | |
tomcat_user: root | |
tomcat_group: root | |
tomcat_maj_version: 7 |