Module: Puppetserver::Ca::ConfigUtils
- Included in:
- PuppetConfig, PuppetserverConfig
- Defined in:
- lib/puppetserver/ca/config_utils.rb
Instance Method Summary collapse
Instance Method Details
#running_as_root? ⇒ Boolean
5 6 7 |
# File 'lib/puppetserver/ca/config_utils.rb', line 5 def running_as_root? !Gem.win_platform? && Process::UID.eid == 0 end |