タグ

Resourceに関するlibero18のブックマーク (2)

  • Recipeが実行されるまでの仕組みと変数の関係 - Taste of Tech Topics

    こんにちは、Ruby大好きMiyakeです :-) "DevOps"という言葉がクローズアップされるようになってから、Chefがかなり流行ってきてますよね。 ブログとかTwitterをみていても、ここ1年で実際の業務や、開発環境を構築するのにChefを使ってる人がかなり増えたな~って思っています :-) 今日は、そんなChefを使っていく中で気になった、Recipeが実行されるまでの仕組みと、Recipe内で宣言している変数の関係について調べてみたので、紹介したいと思います。 実はこのRecipeが実行されるまでの仕組みを理解することで、Recipe内で宣言した変数の使い方が、より理解できるようになります :-) まずは、Recipeが実行されるまでの仕組みが見えてくるよう、わざと誤った変数の使い方をしたサンプルを書いてみました。 誤った変数の使い方をしているのは、リソースBlockとリソ

    Recipeが実行されるまでの仕組みと変数の関係 - Taste of Tech Topics
  • About Resources

    A resource is a statement of configuration policy that: Describes the desired state for a configuration itemDeclares the steps needed to bring that item to the desired stateSpecifies a resource type—such as package, template, or serviceLists additional details (also known as resource properties), as necessaryAre grouped into recipes, which describe working configurationsResource SyntaxA resource i

  • 1