Sha256: cd28e620444930069e9141c4677b0b58d827ad888cfbb2cb9f92f1a32adcc6ad

Contents?: true

Size: 398 Bytes

Versions: 4

Compression:

Stored size: 398 Bytes

Contents

# Check required node values
node.validate! do
  {
    consul: {
      version: string,
    },
  }
end

# Set default node values
node.reverse_merge!(
  consul: {
    platform:   "linux_amd64",
    src_dir:    "/usr/local/src",
    bin_dir:    "/usr/local/bin",
    data_dir:   "/tmp/consul",
    gomaxprocs: 2,
    service_actions: [:enable, :start]
  },
)

node[:consul][:service_actions] ||= []

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
itamae-plugin-recipe-consul-0.1.5 lib/itamae/plugin/recipe/consul/setup.rb
itamae-plugin-recipe-consul-0.1.4 lib/itamae/plugin/recipe/consul/setup.rb
itamae-plugin-recipe-consul-0.1.3 lib/itamae/plugin/recipe/consul/setup.rb
itamae-plugin-recipe-consul-0.1.3.beta1 lib/itamae/plugin/recipe/consul/setup.rb