Skip to content

Commit

Permalink
fix all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
emilymye committed Sep 12, 2018
1 parent 5995499 commit 4b1818d
Show file tree
Hide file tree
Showing 361 changed files with 724 additions and 721 deletions.
4 changes: 2 additions & 2 deletions TEMPLATE_SDK.md
Original file line number Diff line number Diff line change
Expand Up @@ -761,12 +761,12 @@ line #1 by compiling the license template:
To ensure no doubts exist on the readers' minds, we recommend that you mark the
copyright notice on the template with a ERB block:

<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
...
...
...
<% end # copyright -%>
-%>

### Determining the generated artifact "effective year"

Expand Down
4 changes: 2 additions & 2 deletions products/_bundle/templates/chef/README.md.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file.
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% autogen_exception -%>

Google Cloud Platform for Chef
Expand Down
4 changes: 2 additions & 2 deletions products/_bundle/templates/puppet/README.md.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file.
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% autogen_exception -%>

Google Cloud Platform for Puppet
Expand Down
4 changes: 2 additions & 2 deletions products/bigquery/examples/puppet/dataset.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == "README.md" -%>
<%= compile 'templates/license.erb' -%>

Expand Down
4 changes: 2 additions & 2 deletions products/bigquery/examples/puppet/delete_dataset.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == "README.md" -%>
<%= compile 'templates/license.erb' -%>

Expand Down
4 changes: 2 additions & 2 deletions products/bigquery/examples/puppet/table.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == "README.md" -%>
<%= compile 'templates/license.erb' -%>

Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/address.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/backend_bucket.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/backend_service.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_address.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_backend_bucket.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_backend_service.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_disk.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_firewall.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_forwarding_rule.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_global_address.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_health_check.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_http_health_check.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_https_health_check.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_image.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_instance.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% if name != 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_instance_group.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_instance_template.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
4 changes: 2 additions & 2 deletions products/compute/examples/chef/delete_network.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if false # the license inside this if block assertains to this file -%>
<%# The license inside this block applies to this file
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,7 @@
# 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.
<% end -%>
-%>
<% unless name == 'README.md' -%>

<%= compile 'templates/license.erb' -%>
Expand Down
Loading

0 comments on commit 4b1818d

Please sign in to comment.