Created
October 11, 2008 03:42
-
-
Save fujin/16212 to your computer and use it in GitHub Desktop.
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
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
| import "modules.pp" | |
| import "variables.pp" | |
| import "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
| $company_name = "xxx" | |
| # our HTTP proxy | |
| $proxy = "http://xxx:8080" | |
| # default to false | |
| $managed = "false" | |
| $motd = "This system is monitored for unauthorised access. All activity on this system is logged." | |
| $ntp_server = $puppet_env ? { | |
| default => "puppet" | |
| } | |
| $puppet_server = "puppet" | |
| $nagios_server_ip = [ "123.100.100.131", "123.100.66.3" ] | |
| $gem_server_directory = "/srv/gems" | |
| $gem_server_virtual_host_name = "gems.ops1prod.xxx" | |
| $gem_server_virtual_host_alias = [ "gems" ] | |
| $iclassify_server = "https://iclassify" | |
| $iclassify_user = "puppet" | |
| $iclassify_password = "gepetto" | |
| $iclassify_virtual_host_name = "iclassify.xxx" | |
| $iclassify_virtual_host_alias = [ "iclassify" ] | |
| $munin_node_search = "domain:maxnet.net.nz NOT tag:no-trending" | |
| $munin_virtual_host_name = "munin.xxx" | |
| $munin_virtual_host_alias = [ "munin" ] | |
| $munin_node_allow = "123.100.66.2" | |
| $moonin_virtual_host_name = "munin.xxx" | |
| $moonin_virtual_host_alias = [ "munin" ] | |
| $mysql_nagios_password = "xxx" | |
| $mysql_debian_admin_password = "xxx" | |
| $postgresql_hba_iclassify_search = "tag:vhost-frontend" | |
| $phpldapadmin_virtual_host_name = "ldap.ops1prod.xxx" | |
| $phpldapadmin_virtual_host_alias = [ "ldap.ops1prod.xxx" ] | |
| $phpldapadmin_session_key = "IWof8FxCSRYT4lwoY8CSJ8i61x41SacNW6ZmAugFmAjTRx76S9K44D2AM9xWI" | |
| $resolver_search_path = "xxx" | |
| $resolver_nameservers = [ "123.100.71.1", "123.100.71.2" ] | |
| $ldap_server = $puppet_env ? { | |
| default => "puppet.xxx" | |
| } | |
| $ldap_basedn = $puppet_env ? { | |
| default => "dc=xxx,dc=net,dc=nz", | |
| } | |
| $ldap_replication_password = $puppet_env ? { | |
| default => "xxx", | |
| } | |
| $auth_ldap_type = "openldap" | |
| $auth_ldap_binddn = "" | |
| $auth_ldap_bindpw = "" | |
| $auth_ldap_url = $puppet_env ? { | |
| default => "ldap://puppet.xxx/dc=xxx,dc=net,dc=nz?uid?sub?(objectClass=*)", | |
| } | |
| case $operatingsystem { | |
| "CentOS": { | |
| $apache_dir = "/etc/httpd" | |
| $apache_log_dir = "/var/log/httpd" | |
| $apache_user = "apache" | |
| $apache_binary = "/usr/sbin/httpd" | |
| $openldap_dir = "/etc/openldap" | |
| $openldap_run_dir = "/var/run/openldap" | |
| $openldap_module_dir = "/usr/lib64/openldap" | |
| $gem_path = "/usr" | |
| } | |
| "Debian": { | |
| $apache_dir = "/etc/apache2" | |
| $apache_log_dir = "/var/log/apache2" | |
| $apache_user = "www-data" | |
| $apache_binary = "/usr/sbin/apache2" | |
| $openldap_dir = "/etc/ldap" | |
| $openldap_run_dir = "/var/run/slapd" | |
| $openldap_module_dir = "/usr/lib/ldap" | |
| $gem_path = "/usr" | |
| } | |
| default: { | |
| $apache_dir = "/etc/apache2" | |
| $apache_log_dir = "/var/log/apache2" | |
| $apache_user = "www-data" | |
| $apache_binary = "/usr/sbin/apache2" | |
| $openldap_dir = "/etc/ldap" | |
| $openldap_run_dir = "/var/run/slapd" | |
| $openldap_module_dir = "/usr/lib/ldap" | |
| $gem_path = "/var/lib/gems/1.8" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment