logo
down
shadow

How to reconfigure postfix with puppet?


How to reconfigure postfix with puppet?

By : user2948815
Date : November 15 2020, 06:54 AM
This might help you If you insist on managing postfix through the package preseed file, you can use the sledge hammer approach.
code :
exec { 'apt-get install --reinstall postfix':
    refreshonly => true,
    subscribe   => File["${preseed_dir}/${preseed_file}"],
    path        => '/bin:/usr/bin'
}


Share : facebook icon twitter icon
Reconfigure Postfix for a different port

Reconfigure Postfix for a different port


By : BBA GWANG
Date : March 29 2020, 07:55 AM
around this issue So the @$$holes at cox block port 25 by default. Considering I'm trying to send mail with a small sinatra app, this is quite a drag, because postfix works on port 25. Is there a workaround to make postfix work on a different port? I've seen all kinds of ways to do this on old OS, and LINUX, but not one on the OS X Lion 10.8. My main.cf and master.cf are default. Can this be done? ,
Is there a workaround to make postfix work on a different port?
code :
smtp      inet  n       -       n       -       500       smtpd
25      inet  n       -       n       -       500       smtpd
26      inet  n       -       n       -       500       smtpd
Puppet resource ordering with puppet module "maestrodev/puppet-wget"?

Puppet resource ordering with puppet module "maestrodev/puppet-wget"?


By : billobear
Date : March 29 2020, 07:55 AM
hop of those help? I workaround the issue using Puppet's package resource to download the application.
code :
package { $app_firefoxt_app:
 ensure => installed,
 provider => appdmg,
 source => "http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/latest/mac/en-GB/Firefox%2021.0.dmg"
}
cannot run command from puppet to update servers for puppet agent using puppet enterprise

cannot run command from puppet to update servers for puppet agent using puppet enterprise


By : 박준우
Date : March 29 2020, 07:55 AM
may help you . Either run puppet agent as root (which as far as I know is a common practice) or add suid on yum to allow others to run it as root (risky!) or run "sudo yum update -y" and add your puppet agent user to sudoers without password prompt.
copy shell script from puppet master to puppet agent and execute it on puppet agent

copy shell script from puppet master to puppet agent and execute it on puppet agent


By : Nick C.
Date : March 29 2020, 07:55 AM
With these it helps In Puppet, defining a class doesn't automatically include it in a configuration, it simply makes it available to be declared. Defining a class is similar to defining a function in a language like Ruby, Python, or C. The function only ever has effect when it is invoked. Similarly, Puppet class definitions don't have any effect until we declare them.
If you want to actually use the class, you can declare it using the include function. This tells Puppet to evaluate the class and manage all the resources declared within it.
code :
notify{"Message : I am a message from puppet master": }

class myfile {
  file { "/home/myserver/mybash.sh":
    mode   => '0755',
    owner  => 'root',
    source => 'puppet:///modules/mymodule/mybash.sh',
    notify => Exec['run_my_script'],
  }
  exec { 'run_my_script':
    command => '/home/npatel/mybash.sh',
  }
}

include myfile
notify{"Message : new msg test": }
class myfile {
  file { "/home/myserver/mybash.sh":
    mode   => '0755',
    owner  => 'root',
    source => 'puppet:///modules/mymodule/mybash.sh',
    notify => Exec['run_my_script'],
  }
  exec { 'run_my_script':
    command => '/home/npatel/mybash.sh',
  }
}
node default {
  include myclass
} 
Difference between Puppet, Puppet Master and Puppet Server

Difference between Puppet, Puppet Master and Puppet Server


By : Yaseen Omer Kamala
Date : March 29 2020, 07:55 AM
should help you out We are in transition from Puppet 3.8 to Puppet 5.4. I am currently playing with puppet 5.4. Though the puppet documentation is good I don't understand what is the difference between puppet, puppetserver and puppetmaster. , The following definitions may help:
shadow
Privacy Policy - Terms - Contact Us © ourworld-yourmove.org