cookbooks/mu-tools/recipes/gcloud.rb in cloud-mu-2.0.1 vs cookbooks/mu-tools/recipes/gcloud.rb in cloud-mu-2.0.2

- old
+ new

@@ -14,10 +14,10 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -if platform_family?("rhel") +if platform_family?("rhel") or platform_family?("amazon") if node['platform_version'].to_i >= 7 yum_repository "google-cloud-sdk" do description 'Google Cloud SDK' url "https://packages.cloud.google.com/yum/repos/cloud-sdk-el#{node['platform_version'].to_i}-x86_64#{node['platform_version'].to_i == 6 ? "-unstable": ""}" enabled true