Loading manifests/files.pp +2 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ class postfix::files { $alias_maps = $postfix::all_alias_maps $inet_interfaces = $postfix::inet_interfaces $inet_protocols = $postfix::inet_protocols $mail_user = $postfix::mail_user $manage_conffiles = $postfix::manage_conffiles $maincf_source = $postfix::maincf_source Loading Loading @@ -84,6 +85,7 @@ class postfix::files { ::postfix::config { 'alias_maps': value => $alias_maps; 'inet_interfaces': value => $inet_interfaces; 'inet_protocols': value => $inet_protocols; 'myorigin': value => $myorigin; } Loading manifests/init.pp +3 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ # # [*inet_interfaces*] - (string) # # [*inet_protocols*] - (string) # # [*ldap*] - (boolean) Whether to use LDAP # # [*ldap_base*] - (string) Loading Loading @@ -74,6 +76,7 @@ class postfix ( String $alias_maps = 'hash:/etc/aliases', String $inet_interfaces = 'all', String $inet_protocols = 'all', Boolean $ldap = false, Optional[String] $ldap_base = undef, Optional[String] $ldap_host = undef, Loading spec/classes/postfix_spec.rb +1 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ describe 'postfix' do it { is_expected.to contain_postfix__config('myorigin').with_value('foo.example.com') } it { is_expected.to contain_postfix__config('alias_maps').with_value('hash:/etc/aliases') } it { is_expected.to contain_postfix__config('inet_interfaces').with_value('all') } it { is_expected.to contain_postfix__config('inet_protocols').with_value('all') } it { is_expected.to contain_mailalias('root').with_recipient('nobody') } case facts[:osfamily] Loading Loading
manifests/files.pp +2 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ class postfix::files { $alias_maps = $postfix::all_alias_maps $inet_interfaces = $postfix::inet_interfaces $inet_protocols = $postfix::inet_protocols $mail_user = $postfix::mail_user $manage_conffiles = $postfix::manage_conffiles $maincf_source = $postfix::maincf_source Loading Loading @@ -84,6 +85,7 @@ class postfix::files { ::postfix::config { 'alias_maps': value => $alias_maps; 'inet_interfaces': value => $inet_interfaces; 'inet_protocols': value => $inet_protocols; 'myorigin': value => $myorigin; } Loading
manifests/init.pp +3 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ # # [*inet_interfaces*] - (string) # # [*inet_protocols*] - (string) # # [*ldap*] - (boolean) Whether to use LDAP # # [*ldap_base*] - (string) Loading Loading @@ -74,6 +76,7 @@ class postfix ( String $alias_maps = 'hash:/etc/aliases', String $inet_interfaces = 'all', String $inet_protocols = 'all', Boolean $ldap = false, Optional[String] $ldap_base = undef, Optional[String] $ldap_host = undef, Loading
spec/classes/postfix_spec.rb +1 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ describe 'postfix' do it { is_expected.to contain_postfix__config('myorigin').with_value('foo.example.com') } it { is_expected.to contain_postfix__config('alias_maps').with_value('hash:/etc/aliases') } it { is_expected.to contain_postfix__config('inet_interfaces').with_value('all') } it { is_expected.to contain_postfix__config('inet_protocols').with_value('all') } it { is_expected.to contain_mailalias('root').with_recipient('nobody') } case facts[:osfamily] Loading