diff --git a/doc/_index.html b/doc/_index.html index a6e6e9c..1246ffa 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -73,16 +73,46 @@ +
  • + confdroid_nagios::client::target + +
  • +
  • confdroid_nagios::main::config
  • +
  • + confdroid_nagios::main::dirs + +
  • + +
  • + confdroid_nagios::main::install + +
  • + +
  • + confdroid_nagios::main::user + +
  • +
  • confdroid_nagios::params
  • +
  • + confdroid_nagios::server::files + +
  • + +
  • + confdroid_nagios::server::service + +
  • + diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index 34b89a4..178ce50 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -43,13 +43,41 @@ -
  • +
  • +
    + confdroid_nagios::client::target +
    +
  • + + +
  • confdroid_nagios::main::config
  • +
  • +
    + confdroid_nagios::main::dirs +
    +
  • + + +
  • +
    + confdroid_nagios::main::install +
    +
  • + + +
  • +
    + confdroid_nagios::main::user +
    +
  • + +
  • confdroid_nagios::params @@ -57,6 +85,20 @@
  • +
  • +
    + confdroid_nagios::server::files +
    +
  • + + +
  • +
    + confdroid_nagios::server::service +
    +
  • + + diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html new file mode 100644 index 0000000..cb65474 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html @@ -0,0 +1,130 @@ + + + + + + + Puppet Class: confdroid_nagios::client::target + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Puppet Class: confdroid_nagios::client::target

    +
    + +
    +
    Inherits:
    +
    confdroid_nagios::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/client/target.pp +
    +
    +
    + +

    Summary

    + Class manaages main configuration for the confdroid_nagios module. + +

    Overview

    +
    +
    + +

    confdroid_nagios::client::target.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    + + + +
    + + + + + +
    +
    +
    +
    +6
    +7
    +8
    +9
    +10
    +
    +
    # File 'manifests/client/target.pp', line 6
    +
    +class confdroid_nagios::client::target (
    +
    +) inherits confdroid_nagios::params {
    +  # Manage target configuration here
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html index f1b1f4b..dc1dce8 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html @@ -105,7 +105,14 @@ 7 8 9 -10 +10 +11 +12 +13 +14 +15 +16 +17
    # File 'manifests/main/config.pp', line 6
    @@ -113,7 +120,14 @@
     class confdroid_nagios::main::config (
     
     ) inherits confdroid_nagios::params {
    -# Manage main configuration here
    +  if $ng_nagios_server == $fqdn {
    +    include confdroid_nagios::server::service
    +    #config here
    +  }
    +
    +  if $ng_nagios_client != $fqdn {
    +    include confdroid_nagios::client::targe
    +  }
     }
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html new file mode 100644 index 0000000..b332abd --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html @@ -0,0 +1,136 @@ + + + + + + + Puppet Class: confdroid_nagios::main::dirs + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Puppet Class: confdroid_nagios::main::dirs

    +
    + +
    +
    Inherits:
    +
    confdroid_nagios::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/main/dirs.pp +
    +
    +
    + +

    Summary

    + Class manaages main configuration for the confdroid_nagios module. + +

    Overview

    +
    +
    + +

    confdroid_nagios::main::dirs.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    + + + +
    + + + + + +
    +
    +
    +
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +
    +
    # File 'manifests/main/dirs.pp', line 6
    +
    +class confdroid_nagios::main::dirs (
    +
    +) inherits confdroid_nagios::params {
    +  if $ng_nagios_server == $fqdn {
    +    require confdroid_nagios::main::user
    +    #config here
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html new file mode 100644 index 0000000..596a65c --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html @@ -0,0 +1,134 @@ + + + + + + + Puppet Class: confdroid_nagios::main::install + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Puppet Class: confdroid_nagios::main::install

    +
    + +
    +
    Inherits:
    +
    confdroid_nagios::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/main/install.pp +
    +
    +
    + +

    Summary

    + Class manaages main configuration for the confdroid_nagios module. + +

    Overview

    +
    +
    + +

    confdroid_nagios::main::install.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    + + + +
    + + + + + +
    +
    +
    +
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +
    +
    # File 'manifests/main/install.pp', line 6
    +
    +class confdroid_nagios::main::install (
    +
    +) inherits confdroid_nagios::params {
    +  if $ng_nagios_server == $fqdn {
    +    #config here
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Auser.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Auser.html new file mode 100644 index 0000000..733de7b --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Auser.html @@ -0,0 +1,136 @@ + + + + + + + Puppet Class: confdroid_nagios::main::user + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Puppet Class: confdroid_nagios::main::user

    +
    + +
    +
    Inherits:
    +
    confdroid_nagios::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/main/user.pp +
    +
    +
    + +

    Summary

    + Class manaages main configuration for the confdroid_nagios module. + +

    Overview

    +
    +
    + +

    confdroid_nagios::main::user.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    + + + +
    + + + + + +
    +
    +
    +
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +
    +
    # File 'manifests/main/user.pp', line 6
    +
    +class confdroid_nagios::main::user (
    +
    +) inherits confdroid_nagios::params {
    +  if $ng_nagios_server == $fqdn {
    +    require confdroid_nagios::main::install
    +    #config here
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 4c743ad..8875e82 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -67,8 +67,20 @@
    Inherited by:
    + confdroid_nagios::main::dirs
    + + confdroid_nagios::main::user
    + confdroid_nagios::main::config
    + confdroid_nagios::main::install
    + + confdroid_nagios::server::files
    + + confdroid_nagios::client::target
    + + confdroid_nagios::server::service
    +
    @@ -96,7 +108,29 @@ inherited by all classes except defines.
    +

    Parameters:

    + +
    @@ -106,9 +140,6 @@ inherited by all classes except defines.
     
     
    -7
    -8
    -9
     10
     11
     12
    @@ -117,13 +148,24 @@ inherited by all classes except defines.
     15
     16
     17
    -18
    +18 +19 +20 +21 +22 +23 +24 +25 -
    # File 'manifests/params.pp', line 7
    +        
    # File 'manifests/params.pp', line 10
     
     class confdroid_nagios::params (
     
    +# main
    +  String $ng_nagios_server = 'nagios.example.net',
    +
    +
     ) {
     # Default facts
       $fqdn                     = $facts['networking']['fqdn']
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    new file mode 100644
    index 0000000..0bf930a
    --- /dev/null
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    @@ -0,0 +1,136 @@
    +
    +
    +  
    +    
    +
    +
    +  Puppet Class: confdroid_nagios::server::files
    +  
    +    — Documentation by YARD 0.9.36
    +  
    +
    +
    +  
    +
    +  
    +
    +
    +
    +
    +  
    +
    +  
    +
    +
    +  
    +  
    +    
    +
    +    
    + + +

    Puppet Class: confdroid_nagios::server::files

    +
    + +
    +
    Inherits:
    +
    confdroid_nagios::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/server/files.pp +
    +
    +
    + +

    Summary

    + Class manaages main configuration for the confdroid_nagios module. + +

    Overview

    +
    +
    + +

    confdroid_nagios::server::files.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    + + + +
    + + + + + +
    +
    +
    +
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +
    +
    # File 'manifests/server/files.pp', line 6
    +
    +class confdroid_nagios::server::files (
    +
    +) inherits confdroid_nagios::params {
    +  if $ng_nagios_server == $fqdn {
    +    require confdroid_nagios::main::dirs
    +    #config here
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html new file mode 100644 index 0000000..51410e9 --- /dev/null +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -0,0 +1,136 @@ + + + + + + + Puppet Class: confdroid_nagios::server::service + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Puppet Class: confdroid_nagios::server::service

    +
    + +
    +
    Inherits:
    +
    confdroid_nagios::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/server/service.pp +
    +
    +
    + +

    Summary

    + Class manaages main configuration for the confdroid_nagios module. + +

    Overview

    +
    +
    + +

    confdroid_nagios::server::service.pp Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    + + + +
    + + + + + +
    +
    +
    +
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +
    +
    # File 'manifests/server/service.pp', line 6
    +
    +class confdroid_nagios::server::service (
    +
    +) inherits confdroid_nagios::params {
    +  if $ng_nagios_server == $fqdn {
    +    require confdroid_nagios::server::files
    +    #config here
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file